powered by
The `quantile_highlod` function calculates quantiles of high LOD scores from a `highlod` object. It is used to summarize the distribution of LOD scores across the genome.
quantile_highlod( x, probs = NULL, lod.thr = NULL, n.quant, n.pheno, max.quantile = TRUE, ... )
A numeric vector or matrix of quantiles, depending on the input parameters.
A `highlod` object containing LOD scores.
A numeric vector of probabilities for quantiles. If `NULL`, quantiles are computed for all available data.
LOD threshold for filtering scores. If `NULL`, no filtering is applied.
Maximum number of quantiles to compute.
Number of phenotypes considered.
Logical; if `TRUE`, returns only the maximum quantile values.
Additional arguments passed to internal functions.
if (FALSE) { highlod_obj <- highlod(scan1, lod.thr = 2.5) quantiles <- quantile_highlod(highlod_obj, probs = seq(0.1, 0.9, by = 0.1)) }
Run the code above in your browser using DataLab