Download and Manage Template Subjects
download_template_subject(
subject_code = "N27",
url,
template_dir = default_template_directory()
)download_N27(make_default = FALSE, ...)
set_default_template(
subject_code,
view = TRUE,
template_dir = default_template_directory()
)
threebrain_finalize_installation(
upgrade = c("ask", "always", "never", "data-only", "config-only"),
async = TRUE
)
available_templates()
character with only letters and numbers (Important); default is `N27`
zip file address; must be specified if subject_code
is not from the followings: 'bert'
, 'cvs_avg35'
, 'cvs_avg35_inMNI152'
, 'fsaverage'
, 'fsaverage_sym'
, or 'N27'
parent directory where subject's `FreeSurfer` folder should be stored
logical, whether to make `N27` default subject
more to pass to download_template_subject
whether to view the subject
whether to check and download 'N27' brain interactively. Choices are 'ask', 'always', and 'never'
whether to run the job in parallel to others; default is true
Zhengjia Wang
To view electrodes implanted in multiple subjects, it's highly
recommended to view them in a template space The detail mapping method
is discussed in function freesurfer_brain
.
To map to a template space, one idea is to find someone whose brain is
normal. In our case, the choice is subject `N27`, also known as `Colin 27`.
function download_N27
provides a simple and easy way to download a
partial version from the Internet.
If you have any other ideas about template brain, you can use function
set_default_template(subject_code, template_dir)
to redirect to
your choice. If your template brain is a `Zip` file on the Internet, we
provide function download_template_subject
to automatically install it.