parents_haplotypes {onemap} | R Documentation |
Generates data.frame with parents estimated haplotypes
Description
Generates data.frame with parents estimated haplotypes
Usage
parents_haplotypes(
...,
group_names = NULL,
map.function = "kosambi",
ref_alt_alleles = FALSE
)
Arguments
... |
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 |
Value
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)
Author(s)
Getulio Caixeta Ferreira, getulio.caifer@gmail.com
Cristiane Taniguti, chtaniguti@tamu.edu
Examples
data("onemap_example_out")
twopts <- rf_2pts(onemap_example_out)
lg1 <- make_seq(twopts, 1:5)
lg1.map <- map(lg1)
parents_haplotypes(lg1.map)
[Package onemap version 3.2.2 Index]