-
Notifications
You must be signed in to change notification settings - Fork 43
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
Region sorting is non canonical for (at least) Schaefer parcellations #48
Comments
Here is the look-up table from the yeo parcellation labels to the neuroparc parcellation labels.
|
The regions being sorted differently seem to be a result of the work done before I inherited this repo. Nowhere in the code I used for parcellation label creation would the intensity values for a given region be changed. Can I get a copy of the code you used to check this parcellation agreement? |
Looks like the orientations were updated somewhere along the way; wonder if that did something? |
@Lawreros the code was relatively simple, but I think it would be faster for me to type it as pseudocode than find it on my harddrive:
In this case, there was a 1-1 mapping, so I took all the values and bumped them all out of lists into numbers, making the mapping/look-ups easier. |
When looking at the Schaefer 200 parcellation here in neuroparc, and comparing it to the canonical parcellation produced by Thomas Yeo's lab, I noticed that the regions are inconsistently sorted. For example, note the intensity values in the screenshot (shown in the header bar; first number is
neuroparc
label and second number isYeoLab
label), and the general colour inconsistency (additive map is used, meaning that regions that have the same value in both parcellations are perfectly gray; none other than the background).When opening it in a Python shell, I created a mapping from one to the other — there is a 1-1 correspondence, so all regions are the same size, just differently numbered. I've attached a plot to visualize this mapping, below. When looking at the metadata of the neuroparc copy, the label name is
null
for all regions, meaning that I cannot reverse-engineer network membership from this metadata, either.My questions are as follows:
The text was updated successfully, but these errors were encountered: