Returns a matrix of transition probabilities for a given genotype given error.
1 | genotypingErrorMatrix(ehet = 0.6, ehom = 0.1)
|
ehet |
the probability that a heterozygous genotype is incorrect |
ehom |
the probability that a homozygous genotype is incorrect This function creates a matrix of the form: [1-e, e/2, e/2, E/2, 1-E, E/2, e/2, e/2, 1-e] where E is the probability the heterozygous genotype call is incorrect, and e is the probability that the homozygous genotypes call is incorrect. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.