plot.fMRI_single_evidence {BayesDLMfMRI}R Documentation

plot.fMRI_single_evidence

Description

Plot function

Usage

## S3 method for class 'fMRI_single_evidence'
plot(x, overlay, index, index2 = NULL, ...)

Arguments

x

is the returned value of any of the ffdEvidence* functions.

overlay

MNI image used to plot posterior probability maps.

index

the element of res to be plotted.

index2

the element of res to be plotted, only used if needed.

...

additional parameters passed to the ortho2 function.

Details

Plot function

Examples

## Not run: 
fMRI.data  <- get_example_fMRI_data()
data("covariates", package="BayesDLMfMRI")
data("ffd", package="BayesDLMfMRI") # used for overlay.
res <- ffdEvidenceFETS(ffdc = fMRI.data,
                   covariates = Covariates,
                   m0 = 0, Cova = 100, delta = 0.95,
                   S0 = 1, n0 = 1, Nsimu1 = 100, Cutpos1 = 30,
                   r1 = 1, Test = "LTT", Ncores = 15)
plot(res, overlay=ffd, index=1, col.y = heat.colors(50), 
     ycolorbar = TRUE, ybreaks = seq(0.95, 1, by = 0.001))

## End(Not run)

[Package BayesDLMfMRI version 0.0.3 Index]