functionknownAllele

true when *a* appears in the gene's allele table (or is a permitted blank)

Information

Exists because every lookup in this package FAILS SOFT on an unrecognised allele, and each failure is silent and in the dangerous direction: activityOf scores an unlisted allele as fully functional, so a mistyped no-function allele turns a poor metaboliser into a normal one; deficiencyOf returns Indeterminate; isCarrier returns false, so a typo in *57:01 reads as a subject who may safely receive the drug.

The soft defaults are right for the FUNCTIONS, which must stay total. The components assert membership instead, so a typo stops the translation rather than quietly changing the answer.

Inputs

TypeNameDefaultDescription
String[:]allele
Stringa
BooleanallowEmptyfalseaccept "", used for a hemizygous X-linked genotype

Outputs

TypeNameDefaultDescription
Booleanknown