plot.onemap_progeny_haplotypes_counts | R Documentation |
Plot recombination breakpoints counts for each individual
## S3 method for class 'onemap_progeny_haplotypes_counts' plot(x, by_homolog = FALSE, n.graphics = NULL, ncol = NULL, ...)
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 |
a ggplot graphic
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.