download_ms_patient: Download MS Imaging Data

Description Usage Arguments Value Examples

View source: R/download_ms_data.R

Description

Download MS Imaging Data

Usage

1
2
3
4
5
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

1
2
3
4
5
6
7
8
## Not run: 
res = download_ms_patient(id = "patient01")
res = download_ms_patient(
id = "patient01",
data = "coregistered",
cohort = "longitudinal")

## End(Not run)

neuroconductor-devel-releases/msmri documentation built on May 6, 2020, 4:25 p.m.