compare.massvector {mscalib}R Documentation

Compares massvectors

Description

Compares the masses in the massvectors. Returns basic statistics about the matching peaks. Plots the relative or absolute error of matchin peaks.

Usage

## S3 method for class 'massvector':
compare(object,mv2,plot=TRUE,error=1000,ppm=TRUE,uniq=FALSE,...)

Arguments

... further parameters.
error size of the measurment error (default 150 ppm)
mv2 massvector
object massvector
plot True - plot the relatvetor absolute error. FALSE - no plotting.
ppm TRUE - relative error in parts per million, FALSE - absolute error.
uniq logical

Value

FMSTAT Fowlkes & Mallows statistik (nr matching)/sqrt(length(object)*length(mv2))
min smallest error
... 1st qu. , mean, median, 3rd qu., max and stdv of error.

Author(s)

Witold Wolski wolski@molgen.mpg.de

See Also

resid,

Examples

 data(mv1)
 data(mv2)
 compare(mv1,mv2,error=5000,ppm=TRUE,uniq=TRUE)
 compare(mv2,mv1,error=1,ppm=FALSE,uniq=TRUE)

[Package mscalib version 0.5.9 Index]