README.md

ggsegChen

Travis build
status AppVeyor build
status Codecov test
coverage R build
status CRAN
status Lifecycle:
maturing

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

Installation

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

# install.packages("remotes")
remotes::install_github("LCBC-UiO/ggsegChen")

Example

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.



neuroconductor-releases/ggsegChen documentation built on Jan. 1, 2021, 11:38 a.m.