cleavage_histogram: Make a histogram of how many peptides are expected at every...

View source: R/plot_proteomics.R

cleavage_histogramR Documentation

Make a histogram of how many peptides are expected at every integer dalton from a given start to end size for a given enzyme digestion.

Description

This is very similar to plot_cleaved() above, but tries to be a little bit smarter.

Usage

cleavage_histogram(
  pep_sequences,
  enzyme = "trypsin",
  start = 600,
  end = 1500,
  color = "black"
)

Arguments

pep_sequences

Protein sequences as per plot_cleaved().

enzyme

Compatible enzyme name from cleaver.

start

Print histogram from here

end

to here.

color

Make the bars this color.

Value

List containing the plot and size distribution.


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