Calculate beta
1 2 | calculateBeta(number_states, initial_prob, meiosis, number_snps, genotypes,
pop_allele_freqs, positions_cM, scale, error, gender_1, gender_2)
|
number_states |
Integer. The number of IBD states in the model |
initial_prob |
A numeric vector containing the initial state probabilities |
meiosis |
Integer. The number of meiosis separating the two isolates |
number_snps |
Integer. The number of SNPs |
genotypes |
A integer martix containing the genotype calls for a pair of isolates |
pop_allele_freqs |
A numeric vector of population allele frequencies |
positions_cM |
A numeric vector of SNP genetic map positions in cM |
scale |
A numeric vector containing the scaling values used to scale alpha |
error |
Numeric. The genotype error rate |
gender_1 |
Integer. The MOI estimate of isolate 1 |
gender_2 |
Integer. The MOI estimate of isolate 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.