double_ortho: Double Orthographic Display

double_orthoR Documentation

Double Orthographic Display

Description

Orthographic function, but side-by-side

Usage

double_ortho(
  x,
  y = NULL,
  col.y = gray(0:64/64),
  NA.x = TRUE,
  mfrow = c(2, 4),
  add = FALSE,
  ...
)

Arguments

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 x to NA

mfrow

(numeric) layout of the 3 slices

add

Should the y-plot be added or its own plot? Used in double_ortho

...

other arguments to ortho2

See Also

orthographic

Examples

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)


muschellij2/neurobase documentation built on Feb. 6, 2025, 10:45 a.m.