Skip to content

Python

Direct installation from PyPI

This package can be installed directly with pip from the PyPI repository:

pip install subcortex-visualization

Cloning with GitHub

Alternatively, you can clone this repository from GitHub and then install from your local version:

git clone https://github.com/anniegbryant/subcortex_visualization.git
cd subcortex_visualization
pip install .

This option is good if you want to make any modifications, including adding your own atlas.

R

Installing from GitHub

To install the R version of this package (subcortexVisualizationR), run the following in R (either in the terminal or in RStudio):

# if not already installed
install.packages("remotes")

# then install subcortexVisualizationR
remotes::install_github("anniegbryant/subcortex_visualization", subdir = "subcortexVisualizationR")