Description Usage Arguments Details Value Author(s) Examples

View source: R/fmri_time_series.R

a visualization method, use `plotly`

to draw the fMRI data in time series

1 | ```
fmri_time_series(fmridata, voxel_location, is.4d = TRUE, ref = NULL)
``` |

`fmridata` |
a 4d array which contains the spatial and temporal record of fMRI result or a single complex valued vector |

`voxel_location` |
a 3d array indicating the spatial location of the brain. If is.4d is false, set the voxel_location as NULL. |

`is.4d` |
The default is TRUE. If change to false, input a vector instead of a 4d array. |

`ref` |
The default is NULL. User can input an outside extra reference |

The function `fmri_time_series`

is used to create four interactive time series graphs for the real, imaginary, magnitude, and phase parts for the fMRI spacetime data.
User can choose to provide the 4d array of the fMRI spacetime image and the voxel_location or a single complex valued vector, then four interactive time series graphs will be shown.
Besides, the reference `plotly`

object can be added to the final result.

an interactive time series graph object created by `plotly`

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

1 2 3 4 |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.