ggseg / ggsegIca

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ggsegIca

R-CMD-check DOI

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

Beckmann, C. F., & Smith, S. M. (2004). Probabilistic independent component analysis for functional magneticresonance imaging. IEEE transactions on medical imaging, 23(2), 137-152. IEEEE

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

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

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

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

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

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

About

License:Other


Languages

Language:R 100.0%