identify.msimat: Identify peak on mass spectrum plot

Description Usage Arguments Value See Also

View source: R/identify.msimat.R

Description

Interactively identify peak on mass spectrum plot produced by plot.msimat. Click on the plot to identify the closest mass peak. Right-click to stop on most systems.

Usage

1
2
## S3 method for class 'msimat'
identify(d, plot = TRUE, give.names = TRUE, ...)

Arguments

d

msimat object used to plot the mass spectrum

plot

logical; display label beside identified peak with the peak mass value?

give.names

logical; return peak masses instead of their indices

...

Other arguments to identify

Value

Vector of peak masses if give.names=TRUE, otherwise indices for the identified peaks

See Also

plot.msimat


kbseah/mass2adduct documentation built on June 9, 2021, 9:20 p.m.