plotSpectra: Plot pair-wise spectra

View source: R/plottingFunctions.R

plotSpectraR Documentation

Plot pair-wise spectra

Description

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

Usage

plotSpectra(sps, subject, query)

Arguments

sps

Spectra 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(sps = sps_tissue, subject = "SPL_1", query = "SPL_2")


tnaake/MetCirc documentation built on April 23, 2023, 8:56 a.m.