Learn R Programming

onemap (version 3.0.0)

progeny_haplotypes_counts: Plot number of breakpoints by individuals

Description

Generate graphic with the number of break points for each individual considering the most likely genotypes estimated by the HMM. Genotypes with same probability for two genotypes are removed. By now, only available for outcrossing and f2 intercross.

Usage

progeny_haplotypes_counts(x)

Value

a data.frame with columns individuals ID (ind), group ID (grp), homolog (homolog) and counts of breakpoints

Arguments

x

object of class onemap_progeny_haplotypes

Examples

Run this code
# \donttest{
data("onemap_example_out")
twopts <- rf_2pts(onemap_example_out)
lg1 <- make_seq(twopts, 1:5)
lg1.map <- map(lg1)
progeny_haplotypes_counts(progeny_haplotypes(lg1.map, most_likely = TRUE))
# }

Run the code above in your browser using DataLab