id_activations {BayesfMRI} | R Documentation |
Identify task activations
Description
Identify areas of activation for each task from the result of BayesGLM
or BayesGLM_cifti
.
Usage
id_activations(
model_obj,
tasks = NULL,
sessions = NULL,
method = c("Bayesian", "classical"),
alpha = 0.05,
gamma = NULL,
correction = c("FWER", "FDR", "none"),
verbose = 1
)
Arguments
model_obj |
Result of |
tasks |
The task(s) to identify activations for. Give either the name(s)
as a character vector, or the numerical indices. If |
sessions |
The session(s) to identify activations for. Give either the
name(s) as a character vector, or the numerical indices. If Currently, if multiple sessions are provided, activations are identified separately for each session. (Information is not combined between the different sessions.) |
method |
|
alpha |
Significance level. Default: |
gamma |
Activation threshold, for example |
correction |
For the classical method only: Type of multiple comparisons
correction: |
verbose |
Should updates be printed? Use |
Value
An "act_BayesGLM"
or "act_BayesGLM_cifti"
object, a
list which indicates the activated locations along with related information.