getaccC {mscalib}R Documentation

Find Matching Masses

Description

Returns the indices of masses matching to each other.

Usage

getaccC(pl,cal,error=500,ppm=TRUE,uniq=FALSE)

Arguments

cal vector with masses
error error in Da or ppm.
pl vector with masses
ppm TRUE - then error has to be given as relative error in ppm. FALSE - error are absolute error in dalton.
uniq TRUE - return only closest match to mass in cal. FALSE - return all matches in the error range.

Author(s)

Witold Wolski wolski@molgen.mpg.de

Examples

 getaccC(1001:1010,1001:1010,error=300,ppm=TRUE,uniq=TRUE)

[Package mscalib version 0.5.9 Index]