recordGene
one gene: how a DIPLOTYPE maps to a metaboliser phenotype
Information
Gene-level knowledge only: the allele-to- phenotype mapping, which is a property of the GENE and is shared by every drug and every model parameter that gene touches. What a phenotype then does to a particular parameter lives in Effect, and the patient's own two alleles are set on the component, not here.
This separation replaces PGx.Phenotype, which carried both at once. Because that
record held a single scale vector per gene, a gene acting on two parameters needed two copies of
the whole allele table — clopidogrel/CYP2C19 acts on both fm1 and fm2 and needed exactly
that.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| String | symbol | "" | HGNC symbol, e.g. "CYP2C19" |
| String | allele | fill("", 0) | |
| Real | activityScore | fill(0.0, 0) | |
| Real | poorMax | 0.0 | |
| Real | intermediateMax | 1.0 | |
| Real | normalMax | 2.0 | |
| Real | rapidMax | 2.5 |