Description Usage Arguments Value
IBDparameters() calculates IBD probabilities then estimates the number of meiosis for an isolate pair.
1 | IBDparameters(genotypes, pop_allele_freqs, gender_1, gender_2)
|
genotypes |
An integer matrix of genotype calls for a pair of isolates. Each coloumn represents and isolate and each row represents a SNP. |
pop_allele_freqs |
A numeric vector of population allele frequencies for each SNP. |
gender_1 |
An integer denoting the MOI value of isoalte 1. |
gender_2 |
An integer denoting the MOI value of isoalte 2. |
A vector of 4 values representing the number of meiosis and the probabilities of sharing 0, 1 and 2 alleles IBD respectively.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.