as.mask {neuroim}R Documentation

Convert to a LogicalBrainVolume

Description

Convert to a LogicalBrainVolume

Usage

as.mask(x, indices)

## S4 method for signature 'BrainVolume,missing'
as.mask(x)

## S4 method for signature 'BrainVolume,numeric'
as.mask(x, indices)

Arguments

x

the object to binarize

indices

the indices to set to TRUE


[Package neuroim version 0.0.6 Index]