Skip to contents

A class representing a four-dimensional brain image, backed by an array. DenseNeuroVec objects store their data in a dense array format, which is useful for cases where most elements in the brain image contain non-zero values. This class inherits from both the NeuroVec and the array classes.

constructor function for class DenseNeuroVec

Usage

DenseNeuroVec(data, space, label = "")

Arguments

data

a 4-dimensional array or a 2-dimension matrix that is either nvoxels by ntime-points or ntime-points by nvoxels

space

a NeuroSpace object

label

a label of type character

Value

DenseNeuroVec instance