# Order in Schaefer 2018 100-parcel atlas parcellation

**URL:** <https://mne.discourse.group/t/order-in-schaefer-2018-100-parcel-atlas-parcellation/11102>\
**Category:** Support & Discussions\
**Tags:** ﻿source-localization, eeg\
**Created:** [April 14, 2025, 3:26pm UTC](https://mne.discourse.group/t/order-in-schaefer-2018-100-parcel-atlas-parcellation/11102 "2025-04-14T15:26:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pouyarabiei](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/pouyarabiei/32/4170_2.png) [@Pouyarabiei](https://mne.discourse.group/u/Pouyarabiei)\
**Post date:** [April 14, 2025, 3:26pm UTC](https://mne.discourse.group/t/order-in-schaefer-2018-100-parcel-atlas-parcellation/11102/1 "2025-04-14T15:26:56Z")

</div>

Hello everybody,

I am working on source-based EEG connectivity, and when I use the .annot file of the Schaefer 2018 100-parcel atlas, I noticed that there is a difference between the order of the labels in .annot (or my code) and the original label ordering.  
While mine started with ‘7Networks\_LH\_Cont\_Cing\_1-lh’ and the original order started with ‘7Networks\_LH\_Vis\_1’.

Is there anybody having a similar issue or any idea ?

Thanks,  
Pouya

Here is my code:

```python
fsaverage_dir = fetch_fsaverage()

sub_dir = Path(fsaverage_dir).parent 
os.environ['SUBJECTS_DIR'] = str(sub_dir)

# Atlas selection
atlas_name = 'Schaefer2018_100Parcels_7Networks_order'

labels = mne.read_labels_from_annot('fsaverage', 
                                    parc=atlas_name, 
                                    hemi= 'both',
                                    subjects_dir=sub_dir
                                    )
# Exclude the Medial Wall
labels = [label for label in labels if 'Medial_Wall' not in label.name]

```

---

<div class="post-metadata">

**Author:** ![drammock](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/drammock/32/4_2.png) [@drammock](https://mne.discourse.group/u/drammock)\
**Post date:** [April 17, 2025, 6:47pm UTC](https://mne.discourse.group/t/order-in-schaefer-2018-100-parcel-atlas-parcellation/11102/2 "2025-04-17T18:47:29Z")

</div>

Does the different ordering cause a problem? If you have access to the original order (as it sounds like you do) then it should be possible to re-order the list of labels.

---

<div class="post-metadata">

**Author:** ![Pouyarabiei](https://yyz2.discourse-cdn.com/free1/user_avatar/mne.discourse.group/pouyarabiei/32/4170_2.png) [@Pouyarabiei](https://mne.discourse.group/u/Pouyarabiei)\
**Post date:** [April 17, 2025, 7:15pm UTC](https://mne.discourse.group/t/order-in-schaefer-2018-100-parcel-atlas-parcellation/11102/3 "2025-04-17T19:15:32Z")

</div>

Yes i have.  
Thank you so much
