Learn R Programming

ciftiTools (version 0.3.1)

view_xifti: View a "xifti" object

Description

Switch for view_xifti_surface or view_xifti_volume

Usage

view_xifti(xifti, what = NULL, ...)

view_cifti(xifti, what = NULL, ...)

viewCIfTI(xifti, what = NULL, ...)

viewcii(xifti, what = NULL, ...)

Arguments

xifti

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

what

Either "surface" or "volume". NULL will infer based on the contents of the "xifti": if there is data, plot the surface cortex data if present, and the volumetric subcortical data otherwise. If there is no data, plot the surface geometry if present, and do nothing otherwise.

...

Additional arguments to pass to either view function.

Value

The return value of view_xifti_surface or view_xifti_volume.