cellink.tl.beta_weighting#
- cellink.tl.beta_weighting(values, beta_weights=(1, 25))#
Apply beta weighting to a set of values using the Beta probability density function. This is the standard weighting of variants
- Parameters:
values (np.ndarray) – The input values to be weighted. These should be in the range [0, 1].
beta_weights (tuple) – A tuple of two positive numbers representing the alpha and beta parameters of the Beta distribution. Defaults to (1, 25).
- Returns:
np.ndarray: The weighted values computed using the Beta probability density function.