View source: R/calculate-dosage.R
convert.allele.frequency.to.dosage | R Documentation |
Convert a population allele frequency to a mean dosage for that allele.
convert.allele.frequency.to.dosage(allele.frequency)
allele.frequency |
A numeric vector of allele frequencies. |
A numeric vector of mean dosages for the allele frequencies.
allele.frequency <- seq(0.1, 0.9, 0.1);
convert.allele.frequency.to.dosage(allele.frequency);
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.