ion_bar_plot | R Documentation |
Generates a bar plot of counts of all fragments, fragments without isotopes, and fragments with unique charge states per ion.
ion_bar_plot(MatchedPeaks, Interactive = FALSE)
MatchedPeaks |
Object of the matched_peaks class from get_matched_peaks. Default is NULL. Required. |
Interactive |
A logical to determine whether the plot should be interactive or not. Default is FALSE. |
## Not run:
# Test with bottom up data
BU_Peak <- get_peak_data(ScanMetadata = BU_ScanMetadata, ScanNumber = 31728)
BU_Match <- get_matched_peaks(ScanMetadata = BU_ScanMetadata, PeakData = BU_Peak)
# Make the plot interactive or not
ion_bar_plot(MatchedPeaks = BU_Match)
ion_bar_plot(MatchedPeaks = BU_Match, Interactive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.