View source: R/write_haplotypes.R
parents_haplotypes | R Documentation |
Generates data.frame with parents estimated haplotypes
parents_haplotypes(
...,
group_names = NULL,
map.function = "kosambi",
ref_alt_alleles = FALSE
)
... |
objects of class sequence |
group_names |
vector of characters defining the group names |
map.function |
"kosambi" or "haldane" according to which was used to build the map |
ref_alt_alleles |
TRUE to return parents haplotypes as reference and alternative ref_alt_alleles codification |
data.frame with group ID (group), marker number (mk.number) and names (mk.names), position in centimorgan (dist) and parents haplotypes (P1_1, P1_2, P2_1, P2_2)
Getulio Caixeta Ferreira, getulio.caifer@gmail.com
Cristiane Taniguti, chtaniguti@tamu.edu
data("onemap_example_out")
twopts <- rf_2pts(onemap_example_out)
lg1 <- make_seq(twopts, 1:5)
lg1.map <- map(lg1)
parents_haplotypes(lg1.map)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.