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

ggsegHO

R-CMD-check DOI

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

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('ggsegHO')

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)
library(ggplot2)

plot(hoCort) +
  theme(legend.position = "bottom",
        legend.text = element_text(size = 6)) +
  guides(fill = guide_legend(ncol = 3))

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.



LCBC-UiO/ggsegHO documentation built on Dec. 31, 2021, 2:19 a.m.