coverage_plot: Generate a plot of peptide coverage for a specific protein

View source: R/coverage_plot.R

coverage_plotR Documentation

Generate a plot of peptide coverage for a specific protein

Description

A plot which shows where identified peptides map to the literature sequence

Usage

coverage_plot(PeptideCoverage, ColorByScore = NULL, Interactive = FALSE)

Arguments

PeptideCoverage

A peptide_coverage object generate by get_peptide_coverage. Required.

ColorByScore

A character to indicate whether the coverage plot should should be colored by QValue, Score, or not at all. Acceptable values are "QValue", "Score", and NULL. Default is NULL.

Interactive

A TRUE/FALSE to indicate whether the plot should be interactive or not. Default is FALSE.

Examples

## Not run: 

# Make Peptide Coverage Object
PeptideCoverage <- get_peptide_coverage(ScanMetadata = BU_ScanMetadata, ProteinTable = ProteinTable, ProteinID = "SO_0225")

# Generate peptide coverage plot
coverage_plot(PeptideCoverage)
coverage_plot(PeptideCoverage, ColorByScore = "Score", Interactive = TRUE)


## End(Not run)


EMSL-Computing/pspecterlib documentation built on Jan. 28, 2024, 8:13 p.m.