Download MS Imaging Data
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"))
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? |
A data.frame
of imaging modalities and masks
if (FALSE) {
res = download_ms_patient(id = "patient01")
res = download_ms_patient(
id = "patient01",
data = "coregistered",
cohort = "longitudinal")
}