Download cortical or subcortical surface resources
download_surface.RdDownload cortical or subcortical surface resources
Usage
download_surface(
name,
type = c("auto", "cortical", "subcortical"),
force = FALSE,
refresh = FALSE,
cache_dir = ggbrat_cache_dir(),
quiet = FALSE
)Arguments
- name
Resource name, id, alias, partial name, vector of names, or
"all". Exact normalized names and ids take priority, followed by exact aliases. A unique partial match is selected automatically; multiple matches open a selection menu in interactive R and produce an informative error otherwise.- type
Surface category to resolve:
"auto"searches both cortical surfaces and subcortical meshes,"cortical"searches FreeSurfer-style surfaces, and"subcortical"searches generated meshes.- force
Whether to replace valid cached copies.
- refresh
Whether to refresh the mutable remote catalog before resolving and downloading resources. Use this together with
force = TRUEafter prerelease assets have been replaced.- cache_dir
Resource cache directory.
- quiet
Whether to suppress download progress.