genotypingErrorMatrix: Create a genotyping error matrix.

Description Usage Arguments

Description

Returns a matrix of transition probabilities for a given genotype given error.

Usage

1
genotypingErrorMatrix(ehet = 0.6, ehom = 0.1)

Arguments

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.


vsbuffalo/ProgenyArray documentation built on May 3, 2019, 6:41 p.m.