powered by
Orthographic function, but side-by-side
double_ortho( x, y = NULL, col = gray(0:64/64), col.y = gray(0:64/64), NA.x = TRUE, mfrow = c(2, 4), add = FALSE, ... )
is an object of class nifti or similar.
is an object of class nifti or similar to be set aside x.
is grayscale (by default).
Set any values of 0 in x to NA
x
NA
(numeric) layout of the 3 slices
Should the y-plot be added or its own plot? Used in double_ortho
double_ortho
other arguments to ortho2
ortho2
orthographic
set.seed(10) x = oro.nifti::nifti(array(rnorm(10000), dim = rep(10, 4))) y = x > 2 mask = x > 2.5 double_ortho(x, y)
Run the code above in your browser using DataLab