fmri_kimesurface: interactive graph object of 3D kime-series

View source: R/fmri_kimesurface.R

fmri_kimesurfaceR Documentation

interactive graph object of 3D kime-series

Description

Use plotly to display in 3D the kime-series as 2D manifolds (kimesurface) over the cartesian domain.

Usage

fmri_kimesurface(fmridata, voxel_location = NULL, is.4d = TRUE)

Arguments

fmridata

a 4d array which contains the spatial and temporal record of fMRI result or a single real valued vector.

voxel_location

a 3d array indicating the spatial location of the brain.

is.4d

The default is true. If change to false, need to input a vector instead of array.

Details

The function fmri_kimesurface is display in 3D the kime-series as 2D manifolds (kimesurface) over the Cartesian domain. It helps transform the fMRI time-series data at a fixed voxel location into a kimesurface (kime-series). User can choose to provide the 4D array of the fMRI spacetime image and the voxel_location or a single time-series vector, then a 3D visualization will be shown.

Value

an interactive plot in 3D kimesurface

Author(s)

SOCR team <http://socr.umich.edu/people/>

Examples

# sample fMRI time-series vector of a single voxel
sample_voxel = sample_save[[9]]
fmri_kimesurface(sample_voxel, is.4d = FALSE)[[1]]
fmri_kimesurface(sample_voxel, is.4d = FALSE)[[2]]
fmri_kimesurface(sample_voxel, is.4d = FALSE)[[3]]
fmri_kimesurface(sample_voxel, is.4d = FALSE)[[4]]


TCIU documentation built on Oct. 6, 2023, 5:09 p.m.