Hoffman2:Software Tools:ggseg: Difference between revisions

From Center for Cognitive Neuroscience
Jump to navigation Jump to search
(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...")
(No difference)

Revision as of 00:57, 10 March 2023

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)