Skip to content

Commit a3ef1f0

Browse files
committed
Built site for ModelArray@0.1.5: d474972
1 parent 46dd877 commit a3ef1f0

25 files changed

Lines changed: 448 additions & 189 deletions

llms.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -163,8 +163,6 @@ If you use ModelArray, please cite:
163163
: Names of scalars in a ModelArray
164164
- [`scalars()`](https://pennlinc.github.io/ModelArray/reference/scalars.md)
165165
: Element-wise scalar data of a ModelArray object
166-
- [`show(`*`<ModelArray>`*`)`](https://pennlinc.github.io/ModelArray/reference/show-ModelArray-method.md)
167-
: Show ModelArray object
168166
- [`sources()`](https://pennlinc.github.io/ModelArray/reference/sources.md)
169167
: Source filenames of a ModelArray object
170168
- [`writeResults()`](https://pennlinc.github.io/ModelArray/reference/writeResults.md)

pkgdown.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ articles:
1212
installations: installations.html
1313
modelling: modelling.html
1414
walkthrough: walkthrough.html
15-
last_built: 2026-03-30T23:58Z
15+
last_built: 2026-03-31T00:13Z
1616
urls:
1717
reference: https://pennlinc.github.io/ModelArray/reference
1818
article: https://pennlinc.github.io/ModelArray/articles

reference/ModelArray-class.html

Lines changed: 25 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/ModelArray-class.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,28 @@ previously saved analysis results. The object holds references to the
66
underlying HDF5 file and reads data on demand, making it suitable for
77
large-scale neuroimaging datasets.
88

9+
Prints a summary of the ModelArray including file path, scalar
10+
dimensions, and any saved analysis names.
11+
912
## Usage
1013

1114
``` r
1215
ModelArray(filepath, scalar_types = c("FD"), analysis_names = character(0))
16+
17+
# S4 method for class 'ModelArray'
18+
show(object)
1319
```
1420

21+
## Arguments
22+
23+
- object:
24+
25+
A ModelArray object.
26+
27+
## Value
28+
29+
Invisible `NULL`. Called for its side effect of printing to the console.
30+
1531
## Details
1632

1733
ModelArray is an S4 class that represents element-wise scalar data and

reference/analysisNames.html

Lines changed: 26 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

reference/analysisNames.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Names of analyses in a ModelArray
22

3-
Names of analyses in a ModelArray
3+
Returns the names of all analysis result sets currently loaded in a
4+
[ModelArray](https://pennlinc.github.io/ModelArray/reference/ModelArray-class.md).
5+
These correspond to subfolder names under `/results/` in the HDF5 file.
46

57
## Usage
68

@@ -15,8 +17,27 @@ analysisNames(x)
1517

1618
- x:
1719

18-
A ModelArray object
20+
A
21+
[ModelArray](https://pennlinc.github.io/ModelArray/reference/ModelArray-class.md)
22+
object.
1923

2024
## Value
2125

22-
Character vector of analysis names
26+
Character vector of analysis names. Returns `character(0)` if no
27+
analyses have been loaded or saved.
28+
29+
## See also
30+
31+
[`results`](https://pennlinc.github.io/ModelArray/reference/results.md),
32+
[`scalarNames`](https://pennlinc.github.io/ModelArray/reference/scalarNames.md),
33+
[`writeResults`](https://pennlinc.github.io/ModelArray/reference/writeResults.md)
34+
35+
## Examples
36+
37+
``` r
38+
if (FALSE) { # \dontrun{
39+
ma <- ModelArray("data.h5", scalar_types = c("FD"),
40+
analysis_names = c("lm_age"))
41+
analysisNames(ma) # "lm_age"
42+
} # }
43+
```

0 commit comments

Comments
 (0)