| not-methods | R Documentation |
Logical negation (!) for neuroimaging volumes. Returns a
LogicalNeuroVol where non-zero voxels become
FALSE and zero voxels become TRUE.
## S4 method for signature 'DenseNeuroVol'
!x
## S4 method for signature 'SparseNeuroVol'
!x
x |
A neuroimaging volume object. |
A LogicalNeuroVol.
sp <- NeuroSpace(c(5L, 5L, 5L), c(1, 1, 1))
mask <- LogicalNeuroVol(array(sample(c(TRUE, FALSE), 125, replace = TRUE),
c(5, 5, 5)), sp)
inv <- !mask
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.