parents_haplotypes: Generates data.frame with parents estimated haplotypes

View source: R/write_haplotypes.R

parents_haplotypesR Documentation

Generates data.frame with parents estimated haplotypes

Description

Generates data.frame with parents estimated haplotypes

Usage

parents_haplotypes(..., group_names = NULL)

Arguments

...

objects of class sequence

group_names

vector of characters defining the group names

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)


onemap documentation built on Nov. 26, 2022, 9:05 a.m.