Skip to contents

Draws the top_source_proteins() table: which proteins contribute the most ligands (or the most intensity) across the dataset.

Usage

plot_top_proteins(top_tbl, by = c("n_Peptides", "Area"), title = NULL)

Arguments

top_tbl

Output of top_source_proteins().

by

Column to plot: "n_Peptides" (default) or "Area".

title

Plot title. NULL (default) uses a generic one.

Value

A ggplot object, or NULL when top_tbl has no rows.

Examples

if (FALSE) { # \dontrun{
plot_top_proteins(top_source_proteins(prot_all, n = 25))
} # }