plot_pyprophet_points: Plot some data from the result of extract_pyprophet_data()

View source: R/plot_proteomics.R

plot_pyprophet_pointsR Documentation

Plot some data from the result of extract_pyprophet_data()

Description

extract_pyprophet_data() provides a ridiculously large data table of a scored openswath data after processing by pyprophet.

Usage

plot_pyprophet_points(
  pyprophet_data,
  xaxis = "mass",
  xscale = NULL,
  sample = NULL,
  yaxis = "leftwidth",
  yscale = NULL,
  alpha = 0.4,
  color_by = "sample",
  legend = TRUE,
  size_column = "mscore",
  rug = TRUE,
  ...
)

Arguments

pyprophet_data

List of pyprophet data, one element for each sample, taken from extract_peprophet_data()

xaxis

Column to plot on the x-axis

xscale

Change the scale of the x-axis?

sample

Which sample(s) to include?

yaxis

guess!

yscale

Change the scale of the y-axis?

alpha

How see-through to make the dots?

color_by

Change the colors of the points either by sample or condition?

legend

Include a legend of samples?

size_column

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

rug

Add a distribution rug to the axes?

...

extra options which may be used for plotting.

Value

a plot!


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