getDistPercentile: Function to calculate percentile of distance-from-germline...

View source: R/germlineDistances.R

getDistPercentileR Documentation

Function to calculate percentile of distance-from-germline over all clones in the selection

Description

Internal function used by summariseGermlineDistance.

Usage

getDistPercentile(dists, percentiles)

Arguments

dists

numeric vector, median distance-from-germline of a set of clones.

percentiles

numeric vector, a list of quantiles to consider. For percentiles, they should be defined between 0 and 1 with step 0.01.

Value

numeric vector, percentile in the distance-from-germline distribution over all clones, for each corresponding entry in dist.


Fraternalilab/BrepPhylo documentation built on Jan. 3, 2025, 10:03 a.m.