-
Notifications
You must be signed in to change notification settings - Fork 0
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
Error in xy.coords(x, y, xlabel, ylabel, log) #1
Comments
Hi again. I also found other issues on the ggsegAal_3d.
Thanks. |
I aligned the atlas in the current toolbox with the classical AAL90 atlas, and then get the corresponding names to each of the regions on the atlas. But, I am not sure what do the "lh_LH_region_14" and "lh_LH_region_21" refer to? Thanks |
Thank you for this labelling! I'll get to adding that information to the atlas when I get the time. @faskowit Could you help us out with the region names for your labels 14 and 21? This atlas was based on your annot file in https://github.com/faskowit/multiAtlasTT Thanks for any help! |
I've made a plot here to highlight each individual parcel in the left hemisphere. I have no experience with this parcellation personally. library(ggsegAal)
library(ggplot2)
library(ggseg)
#> Warning: package 'ggseg' was built under R version 4.1.1
library(dplyr)
#>
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#>
#> filter, lag
#> The following objects are masked from 'package:base':
#>
#> intersect, setdiff, setequal, union
plot(aal) tmp_data <- tibble(
region = brain_regions(aal)
)
tmp_data %>%
mutate(regionf = region,
regeionc = region) %>%
group_by(regeionc) %>%
ggplot() +
geom_brain(atlas = aal, hemi = "left",
aes(fill = regionf), show.legend = FALSE) +
facet_wrap(~regeionc) +
theme_brain2()
#> merging atlas and data by 'region' Created on 2021-11-15 by the reprex package (v2.0.0) |
Great, thanks, Athanasiamo. Any thoughts on fixing the error that I report about plot(aal)? I am still stuck here. Thanks. |
Hi @Athanasiamo and @zqsha I believe that is AAL2. The one most often used is AAL. Here's the original source: https://www.sciencedirect.com/science/article/pii/S1053811901909784 The original files can be found here:https://www.gin.cnrs.fr/en/tools/aal/ I tried to convert the atlas myself but wasn't very lucky, I'm afraid. |
@zqsha hI cannot reproduce the error you are showing, so I dont know whats going on for you. Are you still seeing that error? library(ggsegAal)
#> Loading required package: ggseg
#> Loading required package: ggplot2
#> Loading required package: ggseg3d
plot(aal) Created on 2022-03-18 by the reprex package (v2.0.1) @lucasfr ok, so you think this is actually the AAL2 atlas, not AAL? That should explain the atlas parcellation differences. |
Hi, experts of ggesgAal. Thanks for developing such an amazing toolbox. After successfully installing the toolbox, I run the example command line: plot(aal), and then it reported the following error:
Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' is a list, but does not have components 'x' and 'y'
Any thoughts on fixing it?
Thanks,
Cain
The text was updated successfully, but these errors were encountered: