Based on oro.nifti::image
.
# S3 method for prior.nifti
plot(
x,
stat = c("mean", "sd", "var"),
plane = c("axial", "sagittal", "coronal"),
n_slices = 9,
slices = NULL,
var_method = c("non-negative", "unbiased"),
...
)
The plot
The prior from estimate_prior.nifti
"mean"
(default), "sd"
, or "var"
.
("sd"
will show the square root of the variance prior.)
Anatomical plane and which slice indices to show. Default: 9 axial slices.
"non-negative"
(default) or "unbiased"
Additional arguments to oro.nifti::image
Consider using struct_prior
to obtain the 3D volumes to plot with a different
viewer function (e.g. from oro.nifti
) if desired.