as_roi: Convert an object to an ROIVolume or ROISurface object

View source: R/allgeneric.R

as_roiR Documentation

Convert an object to an ROIVolume or ROISurface object

Description

The as_roi function is a generic function that converts the provided object into an ROIVolume or ROISurface object, given the associated data object and any additional arguments.

Usage

as_roi(obj, data, ...)

Arguments

obj

The object to be converted.

data

The associated data object used in the conversion process.

...

Additional arguments to be passed to the function.

Value

An ROIVolume or ROISurface object.


bbuchsbaum/rMVPA documentation built on April 28, 2024, 6:30 a.m.