-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Review of the atlas proposal #2
base: bep038-review
Are you sure you want to change the base?
Conversation
Making the following assumptions: - template: An aggregation of continuous- or discreet- valued data that MAY serve as the authoritative definition of a space - atlas: A collection of related templates - any reference to atlas in the text (e.g. "Let's complete the above example by adding two new atlases") has been interpreted to mean segmentation where reasonable.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pwighton may I ask you to annotate your changes with comments where you describe what's your goal with each change? I've had to stop the review at the moment I realized that I'm not understanding the rationale behind the changes. I worry these changes substantially blur the lines between template and atlas and, more worryingly, between seg- and atlas-, when seg is a concept already existing in BIDS-Derivatives which I don't think we should change (or misuse without explicitly changing).
Happy to go over the suggestions on a call.
segmentations, and other knowledge annotations such as landmarks in | ||
individual- or group-level spaces. | ||
|
||
In BIDS, a template is considered any aggregation of continuous- or discreet- |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In BIDS, a template is considered any aggregation of continuous- or discreet- | |
In BIDS, a template is considered any aggregation of continuous- or discrete- |
In BIDS, a template is considered any aggregation of continuous- or discreet- | ||
valued data. Some templates also serve as the authoritative definition of a | ||
space and are used to bring other imaging data into alignment so that it can be | ||
aggregated. | ||
|
||
In BIDS, an atlas is considered a collection of related templates. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These definitions were moved into the common principles, and a link is found at the beginning. I would avoid this re-definition here.
I'd be okay with a more explicit mention that template and atlas are defined in the common principles, either here or (probably better) at the very beginning.
In BIDS, a template is considered any aggregation of continuous- or discreet- | |
valued data. Some templates also serve as the authoritative definition of a | |
space and are used to bring other imaging data into alignment so that it can be | |
aggregated. | |
In BIDS, an atlas is considered a collection of related templates. |
For templates that do not aggregate data over more than one subject, the | ||
organization follows the standards for BIDS raw and derivatives. The following |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would need more context to understand this change, I cannot grasp what is the nuance it is trying to introduce.
The original sentence wants to say: if you are working within each individual's space, and, for example, apply a segmentation at a given scale from an atlas, then you use the general BIDS raw and derivatives conventions which is basically to say, this part of derivatives is no different to others, so we will not redefine those entities (e.g., seg-).
organization follows the standards for BIDS raw and derivatives. The following | ||
entities MAY be employed to specify template-derived results: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please use semantic line breaks:
organization follows the standards for BIDS raw and derivatives. The following | |
entities MAY be employed to specify template-derived results: | |
organization follows the standards for BIDS raw and derivatives. | |
The following entities MAY be employed to specify template-derived results: |
That said, like for the previous sentence, I'm unsure I understand why removing atlas-derived from here.
<source_entities>[_space-<space>][_cohort-<label>][_atlas-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> | ||
<source_entities>[_space-<space>][_cohort-<label>][seg-<label>][_scale-<label>][_res-<label>][_den-<label>][_desc-<label>]_<suffix>.<extension> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this change, it is conflicting with the changes above. First, the pattern continues to use cohort when it has not been defined earlier.
The [`cohort-<label>` directory and entity](../glossary.md#cohort-entities) are dual in terms of usage to BIDS raw's | ||
[`session-<label>`](../glossary.md#session-entities). | ||
Both subject-level and template-level results can coexist in a single pipeline directory: | ||
|
||
Both subject-level and group-level results can coexist in a single pipeline directory: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
"sub-01_space-T1w_atlas-AAL_label-brain_mask.nii.gz": "", | ||
"sub-01_space-T1w_atlas-AAL_label-head_mask.nii.gz": "", | ||
"sub-01_space-T1w_atlas-AAL_T1w.nii.gz": "", | ||
"sub-01_space-T1w_atlas-AAL_T1w.json": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What does this mean? This example wants to show that you can combine results derived from an atlas (AAL, in this case) and results derived from, e.g., applying FSL FAST and extracting the brain and the head mask.
Adding atlas-AAL here is confusing and defeats the purpose of them in the example. Happy to include explanations to make the point clearer.
was generated in two standard spaces: `MNI152Lin` and `fsaverage`. Here, the `atlas-` | ||
entity is not used, since `tpl-` along with other entities is sufficient to disambiguate: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was generated in two standard spaces: `MNI152Lin` and `fsaverage`. Here, the `atlas-` | |
entity is not used, since `tpl-` along with other entities is sufficient to disambiguate: | |
was generated in two standard spaces: `MNI152Lin` and `fsaverage`. | |
Here, the `atlas-` entity is not used, since `tpl-` along with other entities is sufficient to disambiguate: |
"tpl-PS13_atlas-Economo1916_desc-nopvc_dseg.nii.gz": "", | ||
"tpl-PS13_atlas-Economo1916_desc-pvc_dseg.nii.gz": "", | ||
"tpl-PS13_atlas-Economo1916_dseg.json": "", | ||
"tpl-PS13_atlas-Economo1916_dseg.tsv": "", | ||
"tpl-PS13_atlas-RamonCajal1908_desc-nopvc_dseg.nii.gz": "", | ||
"tpl-PS13_atlas-RamonCajal1908_desc-pvc_dseg.nii.gz": "", | ||
"tpl-PS13_atlas-RamonCajal1908_dseg.json": "", | ||
"tpl-PS13_atlas-RamonCajal1908_dseg.tsv": "", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
?
@@ -548,7 +501,7 @@ A guide for using macros can be found at | |||
}) | |||
}} | |||
|
|||
where the `atlas-RamonCajal1908` and `atlas-Economo1916` hypothetically define | |||
where the `seg-RamonCajal1908` and `seg-Economo1916` hypothetically define |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This conflates seg with atlas. Seg is not anymore a segmentation, but a family of annotated knowledge of the brain.
This review of
oesteban/bep038-review
uses the following working definitions:Additionaly, any reference to atlas in the text (e.g. "Let's complete the above example by adding two new atlases") has been interpreted to mean segmentation where reasonable.
My takeaway from reviewing the prosal under these assumptions is there is very little motivation for the
atlas-
entity that exists purely to group related templates.I've itemized the major changes I've made to help kickoff the discussion
removed references to provenance, which I believe should be considered out of scope for this BEP
removed
cohort-
under entities that do not aggregate data over more than one subject but I do not think we should have the schema enforce thisremoved
[_atlas-<label>]
under "The filename pattern for subject-level derivatives follows the general BIDS-Derivatives pattern". I can't think of case where[_seg-<label>]
wouldn't sufficeremoved the statement "The
cohort-<label>
directory and entity are dual in terms of usage to BIDS raw'ssession-<label>
."removed the statement "Similarly, deriving from an existing template and atlases is also a higher-than-first-level analysis as it builds on a previous analysis.". FreeSurfer uses many atlases in it's recon-all pipeline, but most people would consider recon-all to be a first-level or subject-level analysis.
removed the ps13rev2034 use case until it can be clarified. There seems to be some confusion over this use case. This pipeline does not generate segmentations, but uses existing segmentations to compute averages over ROIs. Also, if the goal was to add new segmentations to the dataset, why can't
seg-
be used for this purpose? If the goal is to update the outputs of the pipeline, why can't the outputs simply be changed fromtpl-ps13
totpl-ps13rev2034
?the entity
label-
is used often, but never mentioned in the text. Switched toseg-
It's not clear what
seg-17n
refers to in the Buckner2011 example, but that has been repalced byseg-Buckner2011n17