|
1 | 1 | # Longitudinal and multi-site studies
|
2 | 2 |
|
3 | 3 | Multiple sessions (visits) are encoded by adding an extra layer of directories
|
4 |
| -and file names in the form of `ses-<label>`. Session label can consist |
5 |
| -only of alphanumeric characters `[a-zA-Z0-9]` and should be consistent across |
6 |
| -subjects. If numbers are used in session labels we recommend using zero padding |
| 4 | +and file names in the form of `ses-<label>`. |
| 5 | +Session labels MUST consist only of alphanumeric characters `[a-zA-Z0-9]` |
| 6 | +and SHOULD be consistent across subjects. |
| 7 | +If numbers are used in session labels we RECOMMEND using zero padding |
7 | 8 | (for example `ses-01`, `ses-11` instead of `ses-1`, `ses-11`). This makes
|
8 | 9 | results of alphabetical sorting more intuitive. Acquisition time of session can
|
9 |
| -be defined in the sessions file (see below for details). |
| 10 | +be defined in the [sessions file](#sessions-file). |
10 | 11 |
|
11 |
| -The extra session layer (at least one `/ses-<label>` subfolder) should |
| 12 | +The extra session layer (at least one `/ses-<label>` subfolder) SHOULD |
12 | 13 | be added for all subjects if at least one subject in the dataset has more than
|
13 |
| -one session. Skipping the session layer for only some subjects in the dataset is |
14 |
| -not allowed. If a `/ses-<label>` subfolder is included as part of the |
15 |
| -directory hierarchy, then the same `ses-<label>` tag must also be |
| 14 | +one session. |
| 15 | +If a `/ses-<label>` subfolder is included as part of the directory hierarchy, |
| 16 | +then the same [`ses-<label>`](./99-appendices/09-entities.md#ses) |
| 17 | +key/value pair MUST also be |
16 | 18 | included as part of the file names themselves.
|
17 | 19 |
|
18 | 20 | ```Text
|
@@ -71,11 +73,11 @@ sub-<label>/
|
71 | 73 | Optional: Yes
|
72 | 74 |
|
73 | 75 | In case of multiple sessions there is an option of adding additional
|
74 |
| -participant key files describing variables changing between sessions. In such |
75 |
| -case one file per participant should be added. These files need to include |
76 |
| -compulsory `session_id` column and describe each session by one and only one |
77 |
| -row. Column names in per participant key files have to be different from group |
78 |
| -level participant key column names. |
| 76 | +`sessions.tsv` files describing variables changing between sessions. |
| 77 | +In such case one file per participant SHOULD be added. |
| 78 | +These files MUST include a `session_id` column and describe each session by one and only one row. |
| 79 | +Column names in `sessions.tsv` files MUST be different from group level participant key column names in the |
| 80 | +[`participants.tsv` file](./03-modality-agnostic-files.md#participants-file). |
79 | 81 |
|
80 | 82 | `_sessions.tsv` example:
|
81 | 83 |
|
|
0 commit comments