| Convert Between fmridata and oro.nifti | R Documentation |
NIfTI data can be converted between fmridata S3 objects
(from the fmri package) and nifti S4 objects.
oro2fmri(from, value = NULL, level = 0.75, mask=NULL, setmask = TRUE)
fmri2oro(from, value = NULL, verbose = FALSE, reorient = FALSE,
call = NULL)
from |
is the object to be converted. |
value |
|
level |
is the quantile level defining the mask. |
mask |
array or nifti-object containing the mask. If set this replaces the mask defined by argument level. |
setmask |
is a logical variable (default = |
verbose |
is a logical variable (default = |
reorient |
is a logical variable (default = |
call |
keeps track of the current function call for use in the NIfTI extension. |
These functions enhance the capabilities of fmri by allowing the
exchange of data objects between nifti and fmridata
classes.
The function oro2fmri produces an S3 object of class
fmridata. The function fmri2oro produces an S4
object of class nifti.
Brandon Whitcher bwhitcher@gmail.com
read.NIFTI
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.