
Plot the cluster-permutation null distribution
Source:R/cluster-permutation-diagnostics.R
plot_gazepoint_cluster_null_distribution.RdPlots the permutation null distribution of maximum cluster masses and, when available, overlays the observed cluster mass for one observed cluster.
Usage
plot_gazepoint_cluster_null_distribution(
result,
cluster_id = 1L,
observed_mass = NULL,
bins = 30L
)Arguments
- result
Object returned by
run_gazepoint_cluster_permutation().- cluster_id
Observed cluster to overlay.
- observed_mass
Optional observed cluster mass. If
NULL, the function attempts to extract the mass fromresult.- bins
Number of histogram bins.