knitr::opts_chunk$set( collapse = TRUE, comment = "#>", fig.path = "man/figures/README-", fig.width = 6, out.width = "100%" ) devtools::load_all(".")
This package contains dataset for plotting the Chen thickness and areal cortical atlas ggseg and ggseg3d.
Chen et al. (2013) PNAS, 110 (42) 17089-17094; pubmed
You can install the released version of ggsegChen from GitHub with:
# install.packages("remotes") remotes::install_github("LCBC-UiO/ggsegChen")
This is a basic example which shows you how to solve a common problem:
library(ggsegChen)
library(ggseg) ggseg(atlas = chenAr, mapping = aes(fill = region)) + scale_fill_brain("chenAr", package = "ggsegChen") + labs(title = "Chen areal (chenAr)") + theme(legend.position = "bottom", legend.text = element_text(size = 9)) + guides(fill = guide_legend(ncol = 3))
ggseg(atlas = chenTh, mapping = aes(fill = region)) + scale_fill_brain("chenTh", package = "ggsegChen") + labs(title = "Chen thickness (chenTh)") + theme(legend.position = "bottom", legend.text = element_text(size = 9)) + guides(fill = guide_legend(ncol = 2))
Please note that the 'ggsegChen' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.