get_example_fMRI_data: get_example_fMRI_data

View source: R/load_data.R

get_example_fMRI_dataR Documentation

get_example_fMRI_data

Description

This function is used to download the example data used in the Vignettes.

Usage

get_example_fMRI_data(save_path = NULL, force = FALSE, subject = 1)

Arguments

save_path

location where the data the example data is stored.

force

force the download, even if the data already exists.

subject

The example subject, must be 1 or 2.

Details

The data for this example is related to an fMRI experiment where a sound stimulus is presented. That experiment is intended to offer a "voice localizer" scan, which allows rapid and reliable localization of the voice-sensitive "temporal voice areas" (TVA) of the human auditory cortex \insertCitepernet2015humanBayesDLMfMRI. The data of this "voice localizer" scan is freely available on the online platform OpenNEURO \insertCitegorgolewski2017openneuroBayesDLMfMRI.

Value

It returns an array of dimensions [91, 109, 91, 310].

References

\insertRef

pernet2015humanBayesDLMfMRI

\insertRef

gorgolewski2017openneuroBayesDLMfMRI

Examples

## Not run: 
# This example can take a long time to run.
fMRI.data  <- get_example_fMRI_data()

## End(Not run)

JohnatanLAB/BayesDLMfMRI documentation built on Jan. 29, 2024, 1:24 a.m.