BrainVector-class: BrainVector

Description Usage Arguments Value

Description

Four-dimensional brain image

constructor function for virtual class BrainVector

Usage

1
BrainVector(data, space = NULL, mask = NULL, source = NULL, label = "")

Arguments

data

the image data which can be a matrix, a 4d array, or a list of BrainVolumes. If the latter, the geometric space of the data BrainSpace will be inferred from the constituent volumes, which must all be identical.

space

a BrainSpace object. Does not ned to be included if data argument is a list of BrainVolumes

mask

an optional array of type logical

source

an optional BrainSource object

label

a label of type character

Value

a concrete instance of BrainVector class. If mask is provided then SparseBrainVector, otherwise DenseBrainVector


neuroim documentation built on May 2, 2019, 1:04 p.m.