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

Description Usage Arguments Author(s) References See Also Examples

View source: R/post.overlay.R

Description

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

Usage

1
2
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.

Author(s)

A. Ferreira da Silva, Universidade Nova de Lisboa, Faculdade de Ciencias e Tecnologia,
afs@fct.unl.pt.

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

1
2
3
4
5
6
7
8
9
## 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)

cudaBayesreg documentation built on May 29, 2017, 6:19 p.m.