This package contains dataset for plotting the Shaefer cortical atlas ggseg and ggseg3d.

Installation

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

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

Example

library(ggseg)
library(ggplot2)

plot(dkt) +
  theme(legend.position = "bottom",
        legend.text = element_text(size = 7)) +
  guides(fill = guide_legend(ncol = 4))

library(ggseg3d)
library(dplyr)

ggseg3d(atlas = dkt7_3d) %>% 
  pan_camera("right lateral")

Code of Conduct

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