plot.onemap_progeny_haplotypes_counts function

Plot recombination breakpoints counts for each individual

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, ...)

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

Returns

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))
  • Maintainer: Cristiane Taniguti
  • License: GPL-3
  • Last published: 2022-11-26