View source: R/construct_subj_dir.R
construct_subj_dir | R Documentation |
This function copies files specified by the types of data, determined by the folder Freesurfer put them in, into a temporary directory for easier separation of data and different structuring of data.
construct_subj_dir(
label = NULL,
mri = NULL,
stats = NULL,
surf = NULL,
touch = NULL,
subj = NULL,
subj_root_dir = tempdir()
)
label |
Files to copy to |
mri |
Files to copy to |
stats |
Files to copy to |
surf |
Files to copy to |
touch |
Files to copy to |
subj |
Name of subject to make folder for to use for Freesurfer functions.
If |
subj_root_dir |
Directory to put folder with contents of |
List with the subject name, the SUBJECTS_DIR to use (the directory that contains the subject name), and the types of objects copied
## Not run:
library(freesurfer)
label = "/Applications/freesurfer/subjects/bert/label/aparc.annot.a2009s.ctab"
mri = c(
"/Applications/freesurfer/subjects/bert/mri/aparc.a2009s+aseg.mgz",
"/Applications/freesurfer/subjects/bert/mri/aseg.auto.mgz")
stats = c("/Applications/freesurfer/subjects/bert/stats/lh.aparc.stats",
"/Applications/freesurfer/subjects/bert/stats/aseg.stats")
surf = "/Applications/freesurfer/subjects/bert/surf/lh.thickness"
touch = NULL
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.