Based on oro.nifti::image.
# S3 method for prior.nifti
plot(
x,
what = c("maps", "FC"),
stat = c("mean", "sd", "var"),
FC_method = c("empirical", "IW", "Chol", "none"),
var_method = c("non-negative", "unbiased"),
plane = c("axial", "sagittal", "coronal"),
n_slices = 9,
slices = NULL,
...
)The plot
The prior from estimate_prior.nifti
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.
Which prior statistic to plot: the "mean" (default),
"sd" for the square root of the variance template, or "var"
for the variance template.
If what=="FC": empirical ("empirical") (default),
Inverse-Wishart ("IW"), or Cholesky ("Chol").
"non-negative" (default) or "unbiased", for
the variance estimate of the maps. Note that FC variance estimates are
always non-negative.
Anatomical plane and which slice indices to show. Default: 9 axial slices.
Additional arguments to oro.nifti::image
if what=="maps", or plot_FC_gg if
what=="FC".
Consider using struct_prior to obtain the 3D volumes to plot with a different
viewer function (e.g. from oro.nifti) if desired.