File tree Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Expand file tree Collapse file tree 1 file changed +14
-2
lines changed Original file line number Diff line number Diff line change @@ -1150,10 +1150,22 @@ def collate_participant_tables(subject_ids, base_dir):
1150
1150
base_dir: str
1151
1151
path to a mindboggle output base directory (mindboggled)
1152
1152
1153
+ Returns
1154
+ -------
1155
+ collated_table : pandas DataFrame
1156
+ rows of subject_ids, and columns of shape measures
1153
1157
1158
+ Examples
1159
+ --------
1154
1160
>>> from mindboggle.mio.tables import collate_participant_tables
1155
- >>> dft = collate_participant_tables(['sub-1', 'sub-2'],
1156
- ... '/path/to/mindboggled/') # doctest: +SKIP
1161
+ >>> subject_ids = ['arno', 'arno'] # normally two different subjects
1162
+ >>> base_dir = os.environ['MINDBOGGLE_DATA'] # doctest: +SKIP
1163
+ >>> dft = collate_participant_tables(subject_ids, base_dir) # doctest: +SKIP
1164
+ >>> dft['lcsfs-sylvian fissure-area'] # doctest: +SKIP
1165
+ arno 4.641015
1166
+ arno 4.641015
1167
+ Name: lcsfs-sylvian fissure-area, dtype: float64
1168
+
1157
1169
"""
1158
1170
from glob import glob
1159
1171
import os
You can’t perform that action at this time.
0 commit comments