Create labeldata from a mask. This function is trivial and only calls which after performing basic sanity checks.
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()