however the different subjects belong to different treatment groups (eg sub-01 is a patient, sub-02 a control, etc). What is the appropriate way to include group in the BIDS folder structure? Thanks!
Thanks @effigies, the link is very useful.
Can I ask you another question? I would like to include the group column information in the participant label like: sub-01-patient
I updated the participants.tsv as you suggested:
participant_id group
sub-01 patient
sub-02 control
however, what is the purpose of the group column? Is it just there for organization? Can I somehow attach the labels in this column to the participant_id during the fmriprep call? or will I have to manually re-label every subject like this?:
participant_id group
sub-01-patient patient
sub-02-control control
- is not a valid character in a label. But you could do sub-01patient or sub-patient01.
The group column is just an arbitrary name to associate a value with each participant. It could be called anything you like.
As in, filter subjects by group when calling fMRIPrep? There is currently no functionality there, although it’s certainly possible to add. At present, though, you can use Unix utilities to select a group to process like so: