functionphScaleCL

Information

phScaleCL(ph, a1, a2) returns the clearance‐scaling factor associated with the combined genotype a1/a2 and phenotype ph by:

  1. Calling phStatus(ph,a1,a2) to get a MetabolizerStatus.
  2. Indexing the ph.CLscale vector at that status (converted to an integer).
Inputs:
ph – A Phenotype record with fields: poor, intermediate, rapid, and a CLscale array of length six.
a1, a2 – Star‐allele strings.
Output:
f – Real factor (e.g. 0.85) to multiply the nominal clearance.

Inputs

TypeNameDefaultDescription
PGx.Phenotypeph
Stringa1
Stringa2

Outputs

TypeNameDefaultDescription
Realf