Learn R Programming

BeviMed (version 3.0)

conditional_prob_pathogenic: Calculate probability of pathogencity for variants in region given an association between case label and the region

Description

Calculate probability of pathogencity for variants in region given an association between case label and the region

Usage

conditional_prob_pathogenic(y, G, min_ac = 1L, ...)

Arguments

y
Logical vector of case (TRUE) control (FALSE) status.
G
Integer matrix of variant counts per individual, one row per individual and one column per variant.
min_ac
Minimum allele count per individual to be considered to have a pathogenic combination of variants. '1' could correspond to a dominant inheritance hypothesis whereas '2' could correspond to a recessive inheritance hypothesis. Can either be an integer value (then used for all samples), or integer vector of length(y), useful for example when different samples have different ploidy.
...
Other arguments to pass to bevimed.

Value

Probabilities of pathogenicity.