Description Usage Arguments Value Note Examples
This calls Freesurfer's mri_deface
1 | mri_deface(file, brain_template = NULL, face_template = NULL, ...)
|
file |
File to pass to |
brain_template |
|
face_template |
|
... |
Additional arguments to pass to |
Result of fs_cmd
, which type depends on
arguments to ...
If brain_template
orface_template
is NULL
,
they will be downloaded.
1 2 3 4 5 6 7 | if (have_fs()){
base_url = "https://surfer.nmr.mgh.harvard.edu/pub/dist/mri_deface"
url = file.path(base_url, "sample_T1_input.mgz")
x = tempfile(fileext = ".mgz")
utils::download.file(url, destfile = x)
mri_deface(x)
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.