Skip to contents

Density-axis counterpart to plot_peplength() — same boxplot-over-histogram layout, but the lower panel shows ..density.. rather than raw counts (and so has no ylimits).

Usage

plot_peplength_dens(input, title, ylimits = NULL, xlimits = NULL)

Arguments

input

A pep_all-shaped data frame with a Length column.

title

Plot title.

ylimits, xlimits

Optional length-2 numeric vectors overriding the automatically derived axis limits. ylimits is currently unused (kept for signature parity with plot_peplength()).

Value

A ggpubr-arranged figure (boxplot above a density histogram) with the title annotated above.

Examples

if (FALSE) { # \dontrun{
plot_peplength_dens(pep_all, title = "All peptides")
} # }