Learn R Programming

BayesfMRI (version 0.3.11)

id_activations.posterior: Identify activations using joint posterior probabilities

Description

Identifies areas of activation given an activation threshold and significance level using joint posterior probabilities

Usage

id_activations.posterior(model_obj, tasks, session, alpha = 0.05, gamma)

Value

A list with two elements: active, which gives a matrix of zeros and ones of the same dimension as model_obj$task_estimates${session}, and excur_result, an object of class "excurobj" (see excursions.inla for more information).

Arguments

model_obj

Result of BayesGLM, of class "BayesGLM".

tasks, session, alpha, gamma

See id_activations.

Details

For a given latent field, identifies locations that exceed a certain activation threshold (e.g. 1 percent signal change) at a given significance level, based on the joint posterior distribution of the latent field.