Skip to contents

Construct a MVPA dataset with a surface-based dataset.

Usage

mvpa_surface_dataset(train_data, test_data = NULL, mask = NULL, name = "")

Arguments

train_data

the training data, must inherit from NeuroSurfaceVector in neurosurf package.

test_data

optional test data, must inherit from NeuroSurfaceVector in neurosurf package.

mask

a binary mask equal to the number of nodes in the training/test data set.

name

label to identify the dataset (e.g. "lh" or "rh" to indicate hemisphere)