plot_pyprophet_distribution: Make a boxplot out of some of the various data available in...

View source: R/plot_proteomics.R

plot_pyprophet_distributionR Documentation

Make a boxplot out of some of the various data available in the pyprophet data.

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_distribution(
  pyprophet_data,
  column = "delta_rt",
  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.

column

What column of the pyprophet scored data to 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.