Learn R Programming

CICA (version 1.1.1)

loadNIfTIs: Load Nifti files from directory

Description

Load Nifti files from directory

Usage

loadNIfTIs(dir, toMatrix = TRUE)

Value

list object containing Voxel by Time course matrices

Arguments

dir

Input directory containing nifti files

toMatrix

logical if TRUE nifti's are converted to matrices

Examples

Run this code
if (FALSE) {
nifs <- loadNIfTIs('', toMatrix = T)
outnif <- CICA(DataList = nifs, RanStarts = 2, nComp = 10, nClus = 2)
}

Run the code above in your browser using DataLab