mass_spectrum.plot {visual} R Documentation

Plot of the mass spectrum

Description

Usage

mass_spectrum.plot(spectrum,
    alignment = NULL,
    title = "Mass Spectrum Plot",
    showLegend = TRUE,
    showGrid = TRUE,
    tagXFormat = "F2",
    intoCutoff = 0.3,
    bar.width = 8,
    color1 = "steelblue",
    color2 = "brown",
    grid.x = FALSE,
    legend.layout = ['title','bottom','none'],
    gridStrokeX = "stroke: lightgray; stroke-width: 1px; stroke-dash: dash;",
    gridStrokeY = "stroke: #EBEBEB; stroke-width: 1px; stroke-dash: solid;");

Arguments

spectrum

the ms spectrum object, this parameter can be a collection of ms2 object model, or else is a library matrix or peak ms2 model object, or else is a mgf ion object, or else a dataframe with columns mz and into.

alignment

-

title

the main title that display on the chart plot. [as string]

bar.width

the column width of the bar plot. [as double]

intoCutoff

the intensity cutoff value for display the m/z label on the bar. [as double]

legend.layout

the layout of the legend plot, this parameter value could affects the plot style

Details

Authors

BioNovoGene

Value

this function returns data object of type GraphicsData.

clr value class

Examples


[Package visual version 1.0.0.0 Index]