ts2meanCluster: Timeseries to Mean Cluster

Description Usage Arguments Examples

View source: R/ts2meanCluster.R

Description

This function is able to output the mean voxel intensity over a cluster. Each column represents a cluster and the rows represent the t-dimension.

Usage

1

Arguments

image

Input image of type 'nifti'

mask

Input mask of type 'nifti'. Must have different clusters labeled as integers.

Examples

1
2
3
image <- oro.nifti::nifti(img = array(1:320, dim =c(4,4,4,5)))
mask <- oro.nifti::nifti(img = array(0:15, dim = c(4,4,4,1)))
matrix <- ts2meanCluster(image, mask)

voxel documentation built on May 1, 2019, 10:26 p.m.

Related to ts2meanCluster in voxel...