create-subjects-visits
- Generate the list all subjects and visits of a given dataset¶
A TSV file with two columns (participant_id
and session_id
) containing the list of visits for each subject can be created as follows:
clinica iotools create-subjects-visits INPUT_DIRECTORY OUTPUT_TSV
where:
INPUT_DIRECTORY
: input folder, which can be a BIDS compliant dataset or a CAPS ;OUTPUT_TSV
: output TSV file containing the subjects with their sessions.
Here is an example of the file generated by this tool:
participant_id session_id
sub-01 ses-M000
sub-02 ses-M024
sub-03 ses-M024
...
Note
The format of the participant ID and the session ID follows the BIDS standard.
Example
clinica iotools create-subjects-visits /home/ADNI_BIDS/ adni_participants.tsv
Contact us !¶
- Check for past answers on Clinica Google Group
- Start a discussion on GitHub
- Report an issue on Github