double_ortho | R Documentation |
Orthographic function, but side-by-side
double_ortho(
x,
y = NULL,
col.y = gray(0:64/64),
NA.x = TRUE,
mfrow = c(2, 4),
add = FALSE,
...
)
x |
is an object of class nifti or similar. |
y |
is an object of class nifti or similar to be set aside x. |
col.y |
is grayscale (by default). |
NA.x |
Set any values of 0 in |
mfrow |
(numeric) layout of the 3 slices |
add |
Should the y-plot be added or its own plot? Used
in |
... |
other arguments to |
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.