fmri_kimesurface: interactive graph object of 3D kime-series

Description Usage Arguments Details Value Author(s) Examples

View source: R/fmri_kimesurface.R

Description

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

Usage

1
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

1
2
3
4
5
6
# sample fMRI time-series vector of a single voxel
sample_voxel = sample[[5]]
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 April 30, 2021, 5:08 p.m.