download_ms_patient(id, cohort = c("cross_sectional", "longitudinal"),
data = c("raw", "coregistered"), outdir = tempfile(), overwrite = FALSE)
ms_patient_urls(id, cohort = c("cross_sectional", "longitudinal"),
data = c("raw", "coregistered"))
Arguments
- id
ID to download (either 01 or patient01 or 1)
- cohort
Cohort to be used - cross-sectional or longitudinal
- data
data to be used - raw or coregistered/processed
- outdir
output directory
- overwrite
Should the files be overwritten if already existing?
Value
A data.frame of imaging modalities and masks
Examples
if (FALSE) { # \dontrun{
res = download_ms_patient(id = "patient01")
res = download_ms_patient(
id = "patient01",
data = "coregistered",
cohort = "longitudinal")
} # }