Statmap {pARI}R Documentation

Create Statistical Parametric Mapping (SPM)

Description

It creates the statistical parametric mapping in NIfTI format.

Usage

Statmap(copes, alternative = "two.sided", path = getwd(), 
name = "map", Pmap = FALSE, mask = NULL)

Arguments

copes

list of NIfTI file. The list of copes, i.e., constrasts maps, one for each subject used to compute the statistical tests.

alternative

character string. It refers to the alternative hypothesis, must be one of "two.sided" (default), "greater" or "lower".

path

character string. Path to save the NIfTI file. The path does not must end with /.

name

character string. The name of the map NIfTI file that will be used.

Pmap

Boolean value. If TRUE the SPM of the pvalues is returned. Default @FALSE.

mask

NIfTI file or character string. 3D array of logical values (i.e. TRUE/FALSE in/out of the brain). Alternatively it may be a (character) NIfTI file name. If mask=NULL, it is assumed that non of the voxels have to be excluded.

Value

Save the Statistical Parametric Mapping Nifti file in path with name specified in name.

Author(s)

Angela Andreella

Angela Andreella

Examples

## Not run: 
library(fMRIdata)
data(Auditory_copes)
data(Auditory_mask)
Statmap(copes = Auditory_copes, mask = Auditory_mask)

## End(Not run)

[Package pARI version 1.1.1 Index]