View source: R/subject_2_ascii.R
This function goes through all specified subject, per hermisphere, surface, curvature and no fix curvature specified and turns them into ascii files.
1 2 3 4 5 6 7 8 9 10 | subject_2_ascii(
subject = "fsaverage5",
hemisphere = c("rh", "lh"),
surfaces = fs_surfaces(),
curvatures = fs_curvatures(),
nofix_curv = fs_nofixcurv(),
subjects_dir = freesurfer::fs_subj_dir(),
output_dir = subjects_dir,
verbose = TRUE
)
|
subject |
Freesurfer subject, must exist in whatever subject directory specified or set in the environment with $SUBJECTS_DIR |
hemisphere |
hemisphere, either "rh" or "lh" |
surfaces |
string vector of surfaces |
curvatures |
string vector of curvatures |
nofix_curv |
string vector of nofix curvatures |
subjects_dir |
Freesurfer subject directory |
output_dir |
output directory path |
verbose |
logical indicating to be verbose or not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.