Skip to content

angeella/fMRIdata

Repository files navigation

fMRIdata

This package provides a collection of preprocessed fMRI datasets from OpenNEURO. For each dataset, we provides:

  1. The copes from FLAME 1 analysis computed by FSL;
  2. The mask from Single-Group Average (One-Sample T-Test) computed by (FSL)[https://fsl.fmrib.ox.ac.uk/fsl/fslwiki/FEAT/UserGuide#Single-Group_Average_.28One-Sample_T-Test.29];
  3. The cluster map from Single-Group Average (One-Sample T-Test) computed by FSL using threshold equals 3.2 and 4;
  4. The p-values map computed using the pARI package;
  5. The statistical tests map computed using the pARI package;

The datasets are:

  1. Auditory data;
  2. Word Object data;
  3. Food data;

In the folder data-raw and inst/extdata, you can find also several pre-processed fMRI datasets:

  1. Eklund data;
  2. Rhyme data;
  3. Arrow data.

For further details about the preprocessing part, please write to angela.andreella[\at]stat[\dot]unipd[\dot]it.

Installation

You can install the released version of fMRIdata with:

devtools::install_github("angeella/fMRIdata")

Example

If you want to load the list of copes from the Auditory data:

Auditory_copes <- list()
sub_ids <- c(sapply(c(c(1:120,198:217)),function(x) ifelse(x<10,paste0("00",x), ifelse(x<100 & x>9,paste0(0,x), paste0(x)))), sapply(c(198:217), function(x)paste0(x)))

for (sid in 1:length(sub_ids)) {
  Auditory_copes[[sid]] <- RNifti::readNifti(system.file("extdata/AuditoryData/", paste0("sub-", sub_ids[sid] , ".nii.gz"),  package="fMRIdata"))
}

The package provides some maps in rda format:

  1. The list of copes (only 20 subjects):
data("Auditory_copes")
  1. The cluster map using a threshold equals $3.2$:
data("Auditory_clusterTH3_2")

or using a threshold equals $4$:

data("Auditory_clusterTH4")
  1. The p-values and t-statistics maps:
data("Auditory_Pmap")
data("Auditory_Statmap")

Please check the correct name file for the other datasets.

About

Data Sets from OpenNEURO

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages