Statmap {pARI} | R Documentation |
Create Statistical Parametric Mapping (SPM)
Description
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., contrasts maps, one for each subject used to compute the statistical tests. |
alternative |
Character string. It refers to the alternative hypothesis, must be one of |
path |
Character string. Path to save the plot. The path does not must end with |
name |
Character string. The name of file that will be used to save the plot. Default to "map". |
Pmap |
Boolean value. If |
mask |
NIfTI file or character string. 3D array of logical values (i.e. |
Value
Save the Statistical Parametric Mapping Nifti file in path
with name specified in name
.
Author(s)
Angela Andreella
Examples
## Not run:
library(fMRIdata)
data(Auditory_copes)
data(Auditory_mask)
Statmap(copes = Auditory_copes, mask = Auditory_mask)
## End(Not run)