plot_peprophet_data: Plot some data from the result of extract_peprophet_data()

View source: R/plot_proteomics.R

plot_peprophet_dataR Documentation

Plot some data from the result of extract_peprophet_data()

Description

extract_peprophet_data() provides a ridiculously large data table of a comet result after processing by RefreshParser and xinteract/peptideProphet. This table has some 37-ish columns and I am not entirely certain which ones are useful as diagnostics of the data. I chose a few and made options to pull some/most of the rest. Lets play!

Usage

plot_peprophet_data(
  table,
  xaxis = "precursor_neutral_mass",
  xscale = NULL,
  yaxis = "num_matched_ions",
  yscale = NULL,
  size_column = "prophet_probability",
  ...
)

Arguments

table

Big honking data table from extract_peprophet_data()

xaxis

Column to plot on the x-axis

xscale

Change the scale of the x-axis?

yaxis

guess!

yscale

Change the scale of the y-axis?

size_column

Use a column for scaling the sizes of dots in the plot?

...

extra options which may be used for plotting.

Value

a plot!


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