Skip to contents

This package contains the Harvard-Oxford cortical atlas for ggseg.

Makris N et al. (2006). Decreased volume of left and total anterior insular lobule in schizophrenia. Schizophrenia Research, 83(2-3), 155-171.

Installation

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

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

install.packages("ggsegHO")

You can install this package from GitHub with:

# install.packages("pak")
pak::pak("ggsegverse/ggsegHO")

Harvard-Oxford cortical atlas

library(ggseg)
library(ggsegHO)
library(ggplot2)

ggplot() +
  geom_brain(
    atlas = hoCort(),
    mapping = aes(fill = label),
    position = position_brain(hemi ~ view),
    show.legend = FALSE
  ) +
  scale_fill_manual(values = hoCort()$palette, na.value = "grey") +
  theme_void()

Data source

Makris N et al. (2006). Decreased volume of left and total anterior insular lobule in schizophrenia. Schizophrenia Research, 83(2-3), 155-171. doi:10.1016/j.schres.2005.11.020