plotSpectra {MetCirc}R Documentation

Plot pair-wise spectra

Description

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

Usage

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

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


[Package MetCirc version 1.22.0 Index]