Learn R Programming

ciftiTools (version 0.3.1)

view_xifti_volume: View subcortex

Description

Visualize subcortex of a "xifti" object

Usage

view_xifti_volume(
  xifti,
  structural_img = "MNI",
  idx = 1,
  plane = c("axial", "sagittal", "coronal"),
  num.slices = 9,
  interactive = FALSE,
  zlim = NULL,
  verbose = TRUE,
  ...
)

view_cifti_volume( xifti, structural_img = "MNI", idx = 1, plane = c("axial", "sagittal", "coronal"), num.slices = 9, interactive = FALSE, zlim = NULL, verbose = TRUE, ... )

viewCIfTI_volume( xifti, structural_img = "MNI", idx = 1, plane = c("axial", "sagittal", "coronal"), num.slices = 9, interactive = FALSE, zlim = NULL, verbose = TRUE, ... )

viewcii_volume( xifti, structural_img = "MNI", idx = 1, plane = c("axial", "sagittal", "coronal"), num.slices = 9, interactive = FALSE, zlim = NULL, verbose = TRUE, ... )

Arguments

xifti

Object of class "xifti". See is.xifti and make_xifti.

structural_img

The structural MRI image on which to overlay the subcortical values. Can be a file name, "MNI" (default) to use the MNI T1-weighted template, or NULL to use a blank image.

idx

The time/column index of the "xifti" data to plot. Must be a single index (length 1).

plane

If interactive=FALSE, the plane to display. Default: "axial". Other options are "sagittal" and "coronal".

num.slices

If interactive=FALSE, the number of slices to display. Default: 9.

interactive

interactive=TRUE will use papayar to allows for interactive visualization.

zlim

A length-2 numeric vector giving the minimum and maximum values to plot. Data values beyond this range will be truncated to the min/max. If NULL (default), will use the min and max of the data.

verbose

Should occasional updates be printed? Default: TRUE.

...

Additional arguments to pass to papayar::papaya or oro.nifti::overlay