Description Usage Arguments Value
This function can be used to extract the genotypes for all the MAGIC lines in a MagicGen or MagicGenPhen object. The genotypes can either be the SNP genotypes or the probability matrix of genotype ancestry for each MAGIC line.
1 2 3 4 | getGenotypes(x, type = c("probability", "allele"))
## S4 method for signature 'MagicGen'
getGenotypes(x, type = c("probability", "allele"))
|
x |
an object of class MagicGen |
type |
which type of genotype to retrieve. |
genotypes from MagicGenPhen object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.