Genotype Predicates
A genotype predicate seeks to divide the individuals along an axis that is orthogonal to phenotypes. Typically, this includes using the genotype data, such as presence of a missense variant in a heterozygous genotype. However, other categorical variables, such as diagnoses (TODO - add link to disease predicate) or cluster ids can also be used.
The genotype predicates test the individual for a presence of variants that meet certain inclusion criteria.
The testing is done in two steps. First, we count the alleles
of the matching variants and then we interpret the count, possibly including factors
such as the expected mode of inheritance and sex, to assign the individual into a group.
Finding the matching variants is what
the VariantPredicate
is all about.