parents_haplotypes function

Generates data.frame with parents estimated haplotypes

Generates data.frame with parents estimated haplotypes

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

Returns

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)

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)

Author(s)

Getulio Caixeta Ferreira, getulio.caifer@gmail.com

Cristiane Taniguti, chtaniguti@tamu.edu

  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2025-01-10