README.md

ggsegFlechsig

R-CMD-check DOI

This package contains dataset for plotting the Flechsig (1920) historical atlas of functional segregation with ggseg and ggseg3d, based on the supplementary materials of Pijnenburg et al., NeuroImage, 239, 2021 DOI; Version 1; 15-01-2021.

P.E. Flechsig, Anatomie Des Menschlichen Gehirns und Rückenmarks auf Myelogenetischer Grundlage, G. Thieme (1920)

To learn how to use these atlases, please look at the documentation for ggseg and ggseg3d

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

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

# install.packages("remotes")
remotes::install_github("ggseg/ggsegFlechsig")
library(ggseg)
#> Warning: package 'ggseg' was built under R version 4.1.1
#> Loading required package: ggplot2
library(ggseg3d)
library(ggsegFlechsig)

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

library(dplyr)
ggseg3d(atlas = flechsig_3d) %>% 
  add_glassbrain() %>% 
  pan_camera("right lateral")

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



ggseg/ggsegFlechsig documentation built on Dec. 20, 2021, 10:45 a.m.