plotProtPeptides: Protein-peptide plot

View source: R/func.R

plotProtPeptidesR Documentation

Protein-peptide plot

Description

plotProtPeptides creates a plot consisting of two panels. The top panel shows peptide log intensity. Each box represents one peptide, peptide numbering follows alphabetical sequence order. The bottom panel shows sample intensity. Each box represents one sample. White boxes show derived protein intensities (if prodat is provided).

Usage

plotProtPeptides(pepdat, protein, prodat = NULL, palette = cbPalette)

Arguments

pepdat

Peptide proteusData object.

protein

Protein name.

prodat

(optional) protein proteusData object.

palette

Palette of colours

Value

A ggplot object.

Examples

library(proteusLabelFree)
data(proteusLabelFree)
prodat.med <- normalizeData(prodat)
plotProtPeptides(pepdat.clean, 'sp|P26263|PDC6_YEAST', prodat.med)


bartongroup/Proteus documentation built on April 22, 2023, 5:33 a.m.