error_heatmap_plot: Generate a Heatmap of PPM Errors per Ion Type per Residue

View source: R/error_heatmap_plot.R

error_heatmap_plotR Documentation

Generate a Heatmap of PPM Errors per Ion Type per Residue

Description

Make a Heatmap where x is the peptide residue (in order from N to C-terminus), y is the ion type, and z is the ppm error

Usage

error_heatmap_plot(MatchedPeaks, IncludeIsotopes = FALSE, Interactive = TRUE)

Arguments

MatchedPeaks

A matched_peaks object generated by get_matched peaks. Required.

IncludeIsotopes

A logical to indicate whether isotopes should be included. Default is FALSE for cleaner heatmaps.

Interactive

A logical to determine whether the plot should be interactive or not. Default is TRUE.

Examples

## Not run: 

# Test bottom up data
BU_Peak <- get_peak_data(ScanMetadata = BU_ScanMetadata, ScanNumber = 31728)
BU_Match <- get_matched_peaks(ScanMetadata = BU_ScanMetadata, PeakData = BU_Peak)

error_heatmap_plot(MatchedPeaks = BU_Match, IncludeIsotopes = FALSE)
error_heatmap_plot(MatchedPeaks = BU_Match, IncludeIsotopes = TRUE)
error_heatmap_plot(MatchedPeaks = BU_Match, IncludeIsotopes = TRUE, Interactive = FALSE)


## End(Not run)


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