Plot1StackedSpectrum: Plot a spectrum as a stacked bar chart

View source: R/Plot1StackedSpectrum.R

Plot1StackedSpectrumR Documentation

Plot a spectrum as a stacked bar chart

Description

Plot a spectrum as a stacked bar chart

Usage

Plot1StackedSpectrum(
  background.spectrum,
  target.spectrum,
  background.title = "Background",
  target.title = "Target",
  set.neg.zero = TRUE
)

Arguments

background.spectrum

Partial spectra due to a background signature.

target.spectrum

Partial spectra due to a target signature.

background.title

A title for the legend for the partial spectra due to a background signature.

target.title

A title for the legend for the partial spectra due to a target signature.

set.neg.zero

Sometimes after subtraction a part of the spectra due to a target signatures is negative. If this argument is true, set these to 0.


steverozen/mSigBG documentation built on Nov. 4, 2022, 10:58 a.m.