powered by
The `quantile_hotperm` function calculates quantiles for permutation test results. It is used to summarize the distribution of hotspot sizes and LOD scores.
quantile_hotperm(x, probs = attr(x, "alpha.levels"), ..., lod.thr = NULL)
A numeric vector or matrix of quantiles, depending on the input parameters.
A `hotperm` object containing permutation test results.
A numeric vector of probabilities for quantiles. Defaults to the alpha levels in the object.
Additional arguments passed to internal functions.
LOD threshold for filtering scores. If `NULL`, no filtering is applied.
if (FALSE) { hotperm_obj <- hotperm(cross, n.quant = 300, n.perm = 100, lod.thrs = c(2.5, 3.0)) quantiles <- quantile_hotperm(hotperm_obj, probs = seq(0.1, 0.9, by = 0.1)) }
Run the code above in your browser using DataLab