fmri_image: interactive graph object of the fMRI image

View source: R/fmri_image.R

fmri_imageR Documentation

interactive graph object of the fMRI image

Description

fMRI image visualization method, based on package plotly.

Usage

fmri_image(fmridata, option = "manually", voxel_location = NULL, time = NULL)

Arguments

fmridata

a 4D array contains information for the fMRI spacetime image. The data should only contain the magnitude for the fMRI image.

option

The default is 'manually'. If choose 'auto', then this function will lead you to key in the space (x,y,z) parameters and time (time) parameter for this function to generate graphs.

voxel_location

a 3D array indicating the spatial location of the brain. If option is auto, set the voxel_location as NULL.

time

time location for the voxel

Details

The function fmri_image is used to create images for front view, side view, and top view of the fMRI image. When providing the 4D array of the fMRI spacetime image and input the x,y,z position of the voxel, three views of the fMRI image and the time series image of the voxel will be shown.

Value

an interactive graph object of the fMRI image created by plotly

Author(s)

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

Examples

fmri_generate = fmri_simulate_func(dim_data = c(64, 64, 40), mask = mask)
fmri_image(fmri_generate$fmri_data, option='manually', voxel_location = c(40,22,33), time = 4)


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