knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  fig.width = 6,
  out.width = "100%"
)
devtools::load_all(".")

ggsegHO

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

This package contains dataset for plotting the Harvard-Oxford cortical atlas ggseg and ggseg3d.

Makris,et al. (2006) Schizophrenia research 83(2-3):155-151 pubmed

Installation

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

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

Example

This is a basic example which shows you how to solve a common problem:

library(ggsegHO)
library(ggseg)

ggseg(atlas = hoCort, mapping = aes(fill = region)) +
  scale_fill_brain("hoCort", package = "ggsegHO") +
  theme(legend.position = "bottom",
        legend.text = element_text(size = 6)) +
  guides(fill = guide_legend(ncol = 2))

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



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