Learn R Programming

cudaBayesreg (version 0.3-16)

post.overlay: Rendering a Posterior Probability Map (PPM) volume

Description

post.overlay overlays a statistical PPM volume of voxel activations on the original fMRI volume to visualise medical imaging data.

Usage

post.overlay(fbase=NULL, vreg=2, nu.e=3, rg=c(NULL,NULL), view="axial", savedir=tempdir())

Arguments

fbase
If fbase is left unspecified (default NULL), then user datasets need to be provided as input. Otherwise, fbase indicates the dataset prefix of one of the two demo fMRI datasets to use. see read.fmrislice for a detailed description.
vreg
regression variable to represent in PPM; default(vreg=2)
nu.e
d.f. parameter for regression error variance prior (def: 3)
rg
rg=c(first, last): a vector containing the first and last numbers of the sequence of slices to be processed. If rg=c(NULL,NULL) (default), all slices in the volume are processed.
view
choice among the three orthogonal views c("axial","coronal", "sagittal") to use for the rendered image, (def: "axial").
savedir
Directory (def: tempdir()) where the (PPM) NIFTI volume built by buildzstat.volume is located.

References

Adelino Ferreira da Silva (2011). ``A Bayesian Multilevel Model for fMRI Data Analysis.'', Computer Methods and Programs in Biomedicine, 102,(3), 238--252.

See Also

cudaMultireg.volume, buildzstat.volume, read.fmrislice

Examples

Run this code
## Not run: 
# ## Simulation using the visual/auditory test dataset "fmri"  
# cudaMultireg.volume(fbase="fmri", R=2000, savedir=tempdir())
# buildzstat.volume(fbase="fmri", vreg=2)
# post.overlay(fbase="fmri", vreg=2, view="axial")
# buildzstat.volume(fbase="fmri", vreg=4)
# post.overlay(fbase="fmri", vreg=4, view="axial")
# ## End(Not run)

Run the code above in your browser using DataLab