Hoffman2:Software Tools:ggseg

From Center for Cognitive Neuroscience
Revision as of 00:57, 10 March 2023 by Jonathan (talk | contribs) (Created page with "==From a Hoffman2 node== Load the required modules: <pre> module load R/4.2.2 module load anaconda3/2022.05 module load freesurfer/7.3.2 module load proj/7.1.1 module loa...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

From a Hoffman2 node

Load the required modules:

module load R/4.2.2 
module load anaconda3/2022.05 
module load freesurfer/7.3.2 
module load proj/7.1.1 
module load gdal/3.1.3

Add the path

export PATH=$PATH:/u/project/CCN/apps/conda/rh7/R4.2.2_ggseg:/u/project/CCN/apps/R_libs/rh7/4.2.2_ggseg

Activate the conda environment:

conda activate /u/project/CCN/apps/conda/rh7/R4.2.2_ggseg

Launch R with the command "R" and enter the following:

.libPaths("/u/project/CCN/apps/R_libs/rh7/4.2.2_ggseg")

Load the library in R

library(ggsegExtra)