modelGeneEffectComponent
diplotype -> the unitless scale its phenotype applies
Information
Emits the dimensionless factor that this gene's
phenotype applies to one model parameter. Feed it into a ScaleComponent to multiply
the quantity itself; chain several to combine genes.
It takes an Effect and a Diplotype rather than an effect and a bare
allele array, so the subject's alleles arrive already bound to the gene that reads them and a
mismatched pair is rejected at translation instead of returning a wrong phenotype.
Parameters
| Type | Name | Default | Description |
|---|---|---|---|
| PGx.Effect | effect | ||
| PGx.Diplotype | diplotype | ||
| Advanced | |||
| Boolean | checkAlleles | true | assert that both alleles appear in the gene's table |
Connectors
| Type | Name | Default | Description |
|---|---|---|---|
| Pharmacolibrary.Types.RealOutput | y | scale factor for effect.target |
Components
| Type | Name | Default | Description |
|---|---|---|---|
| MetabolizerStatus | status | phenotype this diplotype maps to |