labeldata.from.mask: Create labeldata from a mask.

Description Usage Arguments Value See Also

View source: R/fsdir_abstraction_subject.R

Description

Create labeldata from a mask. This function is trivial and only calls which after performing basic sanity checks.

Usage

1
labeldata.from.mask(mask, invert = FALSE)

Arguments

mask

a logical vector

invert

Whether to report the inverse the mask before determining the indices. Defaults to FALSE.

Value

labeldata. The list of indices which are TRUE in the mask (or the ones which FALSE if 'invert' is TRUE).

See Also

Other label data functions: group.label(), mask.from.labeldata.for.hemi(), subject.label()


neuroconductor/fsbrain documentation built on Sept. 16, 2020, 2:30 p.m.