Skip to content

ggseg/ggsegPower

Repository files navigation

ggsegPower

R-CMD-check DOI

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

Power, J. D., Cohen, A. L., Nelson, S. M., Wig, G. S., Barnes, K. A., Church, J. A., … & Petersen, S. E. (2011). Functional network organization of the human brain. Neuron, 72(4), 665-678. PubMed

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

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

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

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

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

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

About

No description, website, or topics provided.

Resources

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages