Skip to content

Commit

Permalink
[ENH] Add use of session entity as example of encoding multi-site stu…
Browse files Browse the repository at this point in the history
…dies in a single dataset (#1803)

* Fix syntax (add closing ')') + point to specific issue for multi-site

* Add additional way (session-level) for multi-site studies

Reflecting up on discussion within bids-standard/bids-2-devel#11

---------

Co-authored-by: Taylor Salo <[email protected]>
  • Loading branch information
yarikoptic and tsalo authored May 22, 2024
1 parent 606c3fd commit a0e8c31
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions src/longitudinal-and-multi-site-studies.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ for practical guidance when curating a new longitudinal dataset.

This version of the BIDS specification does not explicitly cover studies with
data coming from multiple sites or multiple centers (such extension is planned
in [BIDS `2.0`](https://github.com/bids-standard/bids-2-devel).
in [BIDS `2.0`](https://github.com/bids-standard/bids-2-devel/issues/11)).
There are however ways to model your data without any loss in terms of metadata.

### Option 1: Treat each site/center as a separate dataset
Expand All @@ -92,11 +92,21 @@ Apps and everything should just work.

### Option 2: Combining sites/centers into one dataset

Alternatively you can combine data from all sites into one dataset. To identify
which site each subjects comes from you can add a `site` column in the
Alternatively you can combine data from all sites into one dataset.
This can be done in two ways:


#### Option 2.a: Collate sites at subject level

To identify which site each subjects comes from you can add a `site` column in the
`participants.tsv` file indicating the source site. This solution allows you to
analyze all of the subjects together in one dataset. One caveat is that subjects
analyze all subjects together in one dataset. One caveat is that subjects
from all sites will have to have unique labels. To enforce that and improve
readability you can use a subject label prefix identifying the site. For example
`sub-NUY001`, `sub-MIT002`, `sub-MPG002` and so on. Remember that hyphens and
underscores are not allowed in subject labels.

#### Option 2.b: Use different sessions for different sites

In case of studies such as "Traveling Human Phantom" it is possible to incorporate site within session label.
For example `sub-human1/ses-NUY`, `sub-human1/ses-MIT`, `sub-phantom1/ses-NUY`, `sub-phantom1/ses-MIT` and so on.

0 comments on commit a0e8c31

Please sign in to comment.