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

Erroneous labeling of 'superiorparietal_left' and 'superiorfrontal_left' in ggseg.plot_dk() #6

Open
davidrs06 opened this issue Nov 14, 2022 · 0 comments

Comments

@davidrs06
Copy link

Hi again !

I think I found a bug in the labeling of 'superiorparietal_left' and 'superiorfrontal_left' ROIs in Desikan-Killiany atlas.

I have a dictionary {'superiorparietal_left': 1}, and running ggseg.plot_dk() also labels the medial superiorfrontal_left cortex:

image

Similarly, when setting 'superiorfrontal_left' to 1.0, only the lateral part gets labelled (the largest medial part is not labelled):

image

Labelling of right ROIs works fine.

Here is the code I am running in case you want to have a look:

import ggseg
ggseg.plot_dk({'superiorparietal_left': 1.0},cmap='Spectral', figsize=(15,15),
              background='k', edgecolor='w', bordercolor='gray',
              ylabel='Cortical thickness (mm)', title='Title of the figure')
ggseg.plot_dk({'superiorfrontal_left': 1.0},cmap='Spectral', figsize=(15,15),
              background='k', edgecolor='w', bordercolor='gray',
              ylabel='Cortical thickness (mm)', title='Title of the figure')
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

No branches or pull requests

1 participant