get_geno | R Documentation |
With data on the continuous crossover location information produced by sim_from_pedigree, grab the genotype at a given position.
get_geno(xodat, position)
xodat |
The sort of detailed genotype/XO data generated by
|
position |
Position (in cM) for which to obtain genotypes |
A numeric matrix with two columns: the maternal and paternal allele for each individual.
sim_from_pedigree()
, convert2geno()
# simulate AIL pedigree
tab <- sim_ail_pedigree(12, 30)
# simulate data from that pedigree
dat <- sim_from_pedigree(tab)
# get genotype at position 30 cM
geno <- get_geno(dat, 30)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.