Description Usage Arguments Value
Calculates haplotype frequencies and uses them to estimate genotype probabilities
1 | haplo_comp(x, y = NULL, haplotypes = FALSE)
|
x |
A data.frame that contains haplotypes for individuals (rows) of a population, for a number of SNPs (columns). Haplotypes coded 0 or 1 as type character. |
y |
A data.frame that contains haplotypes for individuals (rows) of a population, for a number of SNPs (columns). Haplotypes coded 0 or 1 as type character. |
haplotypes |
boolean. If true, return haplotype frequencies of population x. If false, return breed probability matrix (posterior probabilities for each breed, rows, to have particular genotype, columns) |
Either haplotype frequencies or breed probability matrix
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.