Description Usage Arguments Value Examples
Return error matrices
1 2 3 4 5 | error_probs(mx, merr)
gen_error_mat(major.error, het.error, minor.error)
error_mx2(major.error, het.error, minor.error)
|
mx |
A error matrix. |
merr |
Error value for missing data. |
error_mx
returns a list of three matrices.
In this matrix,
row1 is true_gen 00, row2 is true_gen 01, row3 is true_gen 11.
cols 1-3 are obs. genotype (00,01,11) and last col4 is the missing data.
1. 00x01
2. 01x01
3. 11x01
1 2 3 4 5 | #Genotype error matrix
gen_error_mat(hom.error=0.02, het.error=0.8)
#Genotype error by consideringMendelian segregation rate
error_mx(hom.error=0.02, het.error=0.8)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.