sjd.demo | R Documentation |
This is a wrapper around download_optional_data()
and get_optional_data_filepath("subjects_dir")
. It will download the optional fsbrain demo data unless it already exists locally.
sjd.demo(accept_freesurfer_license = FALSE)
accept_freesurfer_license |
logical, whether you want to also download fsaverage and fsaverage3, and accept the FreeSurfer license for fsaverage and fsaverage3, available at https://surfer.nmr.mgh.harvard.edu/fswiki/FreeSurferSoftwareLicense. Defaults to FALSE. If FALSE, only the demo data from fsbrain itself ('subject1') will be downloaded. |
character string, the path to the 'subjects_dir' directory within the downloaded optional data directory.
This function will stop if the data cannot be accessed, i.e., the 'subjects_dir' does not exist after trying to download the data.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.