Sr_to_nifti: Convert Cluster specific independent components to NIFTI...

View source: R/Sr_to_nifti.R

Sr_to_niftiR Documentation

Convert Cluster specific independent components to NIFTI format

Description

Convert Cluster specific independent components to NIFTI format

Usage

Sr_to_nifti(x, write = FALSE, ...)

Arguments

x

an object of class CICA

write

if TRUE, NIfTI files are written to current working directory

...

other arguments passed to RNifti::writeNifti

Value

a list with niftiImage files

Examples

## Not run: 
nifs <- loadNIfTIs('<FolderPath>', toMatrix = T)
outnif <- CICA(DataList = nifs, RanStarts = 2, nComp = 10, nClus = 2)
test <- Sr_to_nifti(outnif,write = T, datatype = 'int16', version = 2)

## End(Not run)


CICA documentation built on Sept. 11, 2024, 6:33 p.m.