plot_pyprophet_counts: Count some aspect(s) of the pyprophet data and plot them.

View source: R/plot_proteomics.R

plot_pyprophet_countsR Documentation

Count some aspect(s) of the pyprophet data and plot them.

Description

This function is mostly redundant with the plot_mzxml_boxplot above. Unfortunately, the two data types are subtly different enough that I felt it not worth while to generalize the functions.

Usage

plot_pyprophet_counts(
  pyprophet_data,
  type = "count",
  keep_real = TRUE,
  keep_decoys = TRUE,
  expt_names = NULL,
  label_chars = 10,
  plot_title = NULL,
  scale = NULL,
  ...
)

Arguments

pyprophet_data

List containing the pyprophet results.

type

What to count/plot?

keep_real

Do we keep the real data when plotting the data? (perhaps we only want the decoys)

keep_decoys

Do we keep the decoys when plotting the data?

expt_names

Names for the x-axis of the plot.

label_chars

Maximum number of characters before abbreviating sample names.

plot_title

Title the plot?

scale

Put the data on a specific scale?

...

Further arguments, presumably for colors or some such.

Value

Boxplot describing the desired column from the data.


elsayed-lab/hpgltools documentation built on May 9, 2024, 5:02 a.m.