Glasser to Yeo atlas label matching

979 views
Skip to first unread message

Panos Fotiadis

unread,
Oct 28, 2021, 11:59:43 PM10/28/21
to HCP-Users
Hi all,

I am interested in assigning each ROI within the Glasser atlas (360 ROIs) to their corresponding Yeo resting state network (both the 7 Networks and the 17 Networks classification). I am attempting to do this by loading (via ciftiopen) both the Glasser atlas (file name: Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors.32k_fs_LR.dlabel.nii) and the resting state fs32k dlabel file available at https://balsa.wustl.edu/study/show/WG33 (file name: RSN-networks.32k_fs_LR.dlabel.nii) in MATLAB. The total number of vertices in each case are slightly different, however, presumably due to the inclusion of the medial wall in the latter file (Glasser atlas file: 59412 vertices; RSN file: 64984 vertices). 

Therefore, I was wondering: Is there a way to either convert the Glasser atlas file to its 64984 vertices version, or the RSN file to its 59412 vertices version, so that when I load both files on MATLAB there is a 1-1 correspondence between their vertices?

Thanks in advance!

Panos

Coalson, Timothy Scott (S&T-Student)

unread,
Oct 29, 2021, 12:16:07 AM10/29/21
to HCP-Users
Two ways to do this: if you are using https://github.com/Washington-University/cifti-matlab , you can use cifti_struct_dense_extract_surface_data() to isolate one hemisphere while adding the medial wall indices back in (and the matching _replace_ function to do the reverse with whatever data you want to save back out).

Or, use wb_command -cifti-create-dense-from-template , using one file as the template, and use the other in a -cifti argument.

Tim


From: Panos Fotiadis <pfo...@gmail.com>
Sent: Thursday, October 28, 2021 10:59 PM
To: HCP-Users <hcp-...@humanconnectome.org>
Subject: [hcp-users] Glasser to Yeo atlas label matching
 
WARNING: This message has originated from an External Source. This may be a phishing expedition that can result in unauthorized access to our IT System. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email.
--
You received this message because you are subscribed to the Google Groups "HCP-Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hcp-users+...@humanconnectome.org.
To view this discussion on the web visit https://groups.google.com/a/humanconnectome.org/d/msgid/hcp-users/96d6fe1a-0240-43f7-b6ea-0fe0a2a2b09cn%40humanconnectome.org.

Panos Fotiadis

unread,
Oct 29, 2021, 12:29:19 AM10/29/21
to HCP-Users, tsc...@mst.edu
Works great, thank you Tim!

Panos

Tamás Andrei Földes

unread,
Jan 19, 2023, 12:09:46 PM1/19/23
to HCP-Users, Panos Fotiadis, tsc...@mst.edu
Dear Panos,

Could I ask you to share how you did this? I'm not familiar with working with surface files and would like to get the same type of label matching done ...

Thanks in advance!
Tamas

Panagiotis Fotiadis

unread,
Jan 24, 2023, 9:12:36 PM1/24/23
to Tamás Andrei Földes, HCP-Users, tsc...@mst.edu
Hi Tamás,

Yeah, absolutely, and apologies for the delayed response. The command I used was:

wb_command -cifti-create-dense-from-template RSN-networks.32k_fs_LR.dlabel.nii Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors.32k_fs_LR_64984_vertices.dlabel.nii -cifti Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors.32k_fs_LR.dlabel.nii

In order to run this, you would need to download the RSN-networks.32k_fs_LR.dlabel.nii file from: https://balsa.wustl.edu/study/show/WG33 
and the Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors.32k_fs_LR.dlabel.nii file from: https://balsa.wustl.edu/file/3VLx 

This command will give you the output file: Q1-Q6_RelatedValidation210.CorticalAreas_dil_Final_Final_Areas_Group_Colors.32k_fs_LR_64984_vertices.dlabel.nii which is the Glasser atlas in its 64984 vertices version, and matching the number of vertices in the Yeo resting state networks file (RSN-networks.32k_fs_LR.dlabel.nii).

Cheers,
Panos



--
Panagiotis Fotiadis
Ph.D. Candidate | Neuroscience Graduate Group
Perelman School of Medicine, University of Pennsylvania
B.Sc. Mathematical Biology, 2012 | University of Michigan, Ann Arbor


Tamás Andrei Földes

unread,
Jan 27, 2023, 8:04:10 AM1/27/23
to HCP-Users, Panos Fotiadis, HCP-Users, tsc...@mst.edu, Tamás Andrei Földes
Thank you. Would it be too much to ask you for a table (.csv?) of the Glasser labels matched up with the Yeo 7 and 17 networks as a backup in case I horribly mess up without noticing?

Thank you in advance,
Tamas

Harms, Michael

unread,
Jan 27, 2023, 11:05:01 AM1/27/23
to hcp-...@humanconnectome.org, Panos Fotiadis, tsc...@mst.edu, Tamás Andrei Földes

 

I don’t know if anyone has gone through the process/effort of assigning the Glasser parcels to either the Yeo 7 or 17 networks.

 

A network assignment of the Glasser parcels was done in this paper https://www.ncbi.nlm.nih.gov/pubmed/30291974

which has a GitHub with their assignments available here: https://github.com/ColeLab/ColeAnticevicNetPartition

 

 

-- 

Michael Harms, Ph.D.

-----------------------------------------------------------

Associate Professor of Psychiatry

Washington University School of Medicine

Department of Psychiatry, Box 8134

660 South Euclid Ave.                        Tel: 314-747-6173

St. Louis, MO  63110                          Email: mha...@wustl.edu

 

From: Tamás Andrei Földes <foldes...@gmail.com>
Reply-To: "hcp-...@humanconnectome.org" <hcp-...@humanconnectome.org>
Date: Friday, January 27, 2023 at 7:04 AM
To: HCP-Users <hcp-...@humanconnectome.org>
Cc: Panos Fotiadis <pfo...@gmail.com>, HCP-Users <hcp-...@humanconnectome.org>, "tsc...@mst.edu" <tsc...@mst.edu>, Tamás Andrei Földes <foldes...@gmail.com>
Subject: Re: [hcp-users] Glasser to Yeo atlas label matching

 

* External Email - Caution *

 


The materials in this message are private and may contain Protected Healthcare Information or other information of a sensitive nature. If you are not the intended recipient, be advised that any unauthorized use, disclosure, copying or the taking of any action in reliance on the contents of this information is strictly prohibited. If you have received this email in error, please immediately notify the sender via telephone or return mail.

Reply all
Reply to author
Forward
0 new messages