Learn R Programming

BayesBrainMap (version 0.2.0)

plot.prior.cifti: Plot prior

Description

Plot prior

Usage

# S3 method for prior.cifti
plot(
  x,
  what = c("maps", "FC"),
  stat = c("mean", "sd", "var"),
  var_method = c("non-negative", "unbiased"),
  FC_method = c("empirical", "IW", "Chol", "none"),
  ...
)

Value

The plot

Arguments

x

The prior from estimate_prior.cifti

what

The "maps" (default) on the brain, or the "FC" matrix. If both are desired, use two separate plot calls to first plot the maps and then plot the FC.

If "FC", the default color scale will be from blue (-1) to red (1). This can be changed with the colFUN argument to plot_FC_gg.

stat

Which prior statistic to plot: the "mean" (default), "sd" for the square root of the variance template, or "var" for the variance template.

var_method

"non-negative" (default) or "unbiased", for the variance estimate of the maps. Note that FC variance estimates are always non-negative.

FC_method

If what=="FC": empirical ("emp") (default), Inverse-Wishart ("IW"), or Cholesky ("Chol").

...

Additional arguments to view_xifti if what=="maps", or plot_FC_gg if what=="FC".