Skip to content
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

Open
wants to merge 1 commit into
base: bep038-review
Choose a base branch
from

Conversation

pwighton
Copy link

This review of oesteban/bep038-review uses the following working definitions:

  • 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

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 this

  • removed [_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 suffice

  • removed the statement "The cohort-<label> directory and entity are dual in terms of usage to BIDS raw's session-<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 from tpl-ps13 to tpl-ps13rev2034?

  • the entity label- is used often, but never mentioned in the text. Switched to seg-

  • It's not clear what seg-17n refers to in the Buckner2011 example, but that has been repalced by seg-Buckner2011n17

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.
Copy link
Owner

@oesteban oesteban left a 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-
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
In BIDS, a template is considered any aggregation of continuous- or discreet-
In BIDS, a template is considered any aggregation of continuous- or discrete-

Comment on lines +11 to +16
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.
Copy link
Owner

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.

Suggested change
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.

Comment on lines +18 to +19
For templates that do not aggregate data over more than one subject, the
organization follows the standards for BIDS raw and derivatives. The following
Copy link
Owner

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-).

Comment on lines +19 to +20
organization follows the standards for BIDS raw and derivatives. The following
entities MAY be employed to specify template-derived results:
Copy link
Owner

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:

Suggested change
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.

Comment on lines -40 to +38
<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>
Copy link
Owner

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.

Comment on lines -70 to +69
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:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

?

Comment on lines +340 to +343
"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": "",
Copy link
Owner

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.

Comment on lines +352 to +353
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:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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:

Comment on lines -525 to -532
"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": "",
Copy link
Owner

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
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants