Skip to content

ggseg/ggsegTracula

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a31b230 · Jan 4, 2024

History

18 Commits
Jan 4, 2024
Apr 2, 2020
Jun 3, 2021
Jan 4, 2024
Jun 3, 2021
Jun 3, 2021
Nov 18, 2020
Nov 20, 2020
Mar 26, 2020
Mar 26, 2020
Jan 4, 2024
Mar 26, 2020
Mar 26, 2020
Mar 26, 2020
Jan 4, 2024
Jun 3, 2021
Jun 3, 2021
Mar 29, 2020
Mar 26, 2020
Mar 26, 2020

Repository files navigation

ggsegTracula

Codecov test coverage R build status DOI

This package contains dataset for plotting the Tracula white matter tracts with ggseg and ggseg3d.

Yendiki et al. (2011) Automated probabilistic reconstruction of white-matter pathways in health and disease using an atlas of the underlying anatomy. Front. Neuroinform. 5:23. doi: 10.3389/fninf.2011.00023

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

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

# install.packages("remotes")
remotes::install_github("LCBC-UiO/ggsegTracula")
library(ggseg)
library(ggplot2)
library(ggseg3d)
library(ggsegTracula)
library(dplyr)
#> 
#> Attaching package: 'dplyr'
#> The following objects are masked from 'package:stats':
#> 
#>     filter, lag
#> The following objects are masked from 'package:base':
#> 
#>     intersect, setdiff, setequal, union

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

ggseg3d(atlas = tracula_3d) %>% 
  add_glassbrain() %>% 
  pan_camera("right lateral")

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