Description Usage Arguments Value
Given a breed probability matrix (provided by build_KBP()
), and a set of test animals
genotypes, use this function to derive breed probabilities for each test animal genotype based on
7 SNPs around the KIT gene.
1 |
geno |
a matrix or data.frame with genotypes of test animals. SNPs in columns and individuals in rows. Genotypes must be coded as dosage of allele 'b' 0, 1, 2. NOTE, only 7 SNPs surrounding KIT will actually be used. |
b_mat |
a data.frame that contains genotypes in rows and associated breed probabilities in columns. This is the output of build_KBP(). |
white |
a logical indicating whether "white" breeds (Yorkshire and Landrace, assuming present) should be grouped together into a white breed probability. |
a data.frame containing test animals in rows and KBPs in columns
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.