plot.onemap_progeny_haplotypes_counts: Plot recombination breakpoints counts for each individual

plot.onemap_progeny_haplotypes_countsR Documentation

Plot recombination breakpoints counts for each individual

Description

Plot recombination breakpoints counts for each individual

Usage

## S3 method for class 'onemap_progeny_haplotypes_counts'
plot(x, by_homolog = FALSE, n.graphics = NULL, ncol = NULL, ...)

Arguments

x

object of class onemap_progeny_haplotypes_counts

by_homolog

logical, if TRUE plots counts by homolog (two for each individuals), if FALSE plots total counts by individual

n.graphics

integer defining the number of graphics to be plotted, they separate the individuals in different plots

ncol

integer defining the number of columns in plot

...

currently ignored

Value

a ggplot graphic

Examples


data("onemap_example_out")
twopts <- rf_2pts(onemap_example_out)
lg1 <- make_seq(twopts, 1:5)
lg1.map <- map(lg1)
prog.haplo <- progeny_haplotypes(lg1.map, most_likely = TRUE)
plot(progeny_haplotypes_counts(prog.haplo))



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