ggseg / ggsegNspn500

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggsegNspn500

R-CMD-check DOI

This package contains dataset for plotting the nspn500 atlas ggseg and ggseg3d.

Whitaker, K. J., Vértes, P. E., Romero-Garcia, R., Váša, F., Moutoussis, M., Prabhu, G., … & Tait, R. (2016). Adolescence is associated with genomically patterned consolidation of the hubs of the human brain connectome. Proceedings of the National Academy of Sciences, 113(32), 9105-9110.

Romero-Garcia, R., Atienza, M., Clemmensen, L. H., & Cantero, J. L. (2012). Effects of network resolution on topological properties of human neocortex. Neuroimage, 59(4), 3522-3532.

To learn how to use these atlases, please look at the documentation for ggseg and ggseg3d

Installation

We recommend installing the ggseg-atlases through the ggseg r-universe:

# Enable this universe
options(repos = c(
    ggseg = 'https://ggseg.r-universe.dev',
    CRAN = 'https://cloud.r-project.org'))

# Install some packages
install.packages('ggsegNspn500')

You can install the released version of ggsegNspn500 from GitHub with:

# install.packages("remotes")
remotes::install_github("ggseg/ggsegNspn500")
library(ggseg)
#> Warning: package 'ggseg' was built under R version 4.1.1
#> Loading required package: ggplot2
library(ggseg3d)
library(ggsegNspn500)

plot(nspn500) +
  theme(legend.position = "bottom", 
        legend.text = element_text(size = 9)) +
  guides(fill = guide_legend(ncol = 5))

library(dplyr)
ggseg3d(atlas = nspn500_3d) %>% 
  add_glassbrain() %>% 
  pan_camera("right lateral")

Please note that the ‘ggsegNspn500’ project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

About

License:Other


Languages

Language:R 100.0%