ggseg / ggsegYeo2011

Yeo 2011 atlas for ggseg-packages

Home Page:https://lcbc-uio.github.io/ggsegYeo2011/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggsegYeo2011

R build status DOI CRAN status R-CMD-check

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

Yeo et al. (2011) J. Neurophysiology 16(3):1125-1165 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('ggsegYeo2011')

You can install the released version version from GitHub with:

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

Example

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

library(ggsegYeo2011)
library(ggplot2)
library(ggseg)

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

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

library(ggseg3d)
library(dplyr)

ggseg3d(atlas = yeo7_3d) %>% 
  pan_camera("right lateral")
``

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

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

About

Yeo 2011 atlas for ggseg-packages

https://lcbc-uio.github.io/ggsegYeo2011/

License:Other


Languages

Language:R 100.0%