plotSpectra: Plot pair-wise spectra

Description Usage Arguments Details Value Author(s) Examples

View source: R/plottingFunctions.R

Description

'plotSpectra' plots a spectra of a 'subject' and 'query' spectra. 'plotSpectra' uses 'ggplot' plotting functionality.

Usage

1
plotSpectra(spectra, subject, query)

Arguments

spectra

'MSpectra' object

subject

character, name of spectra that is aligned against, character with preceding sample name

query

character, name of spectra that is aligned to subject, character with preceding sample name

Details

Internally, all intensities are normalized to 100%.

Value

'ggplot2' plot

Author(s)

Thomas Naake, thomasnaake@googlemail.com

Examples

1
2
data("spectra", package = "MetCirc")
plotSpectra(spectra_tissue, subject = "SPL_1", query = "SPL_2")

MetCirc documentation built on Nov. 8, 2020, 8:26 p.m.