ms2Score.old: Title Give MSMS Score.

Description Usage Arguments Value Examples

View source: R/ms2Score.old.R

Description

Title Give MSMS Score.

Usage

1
ms2Score.old(ms2Act, ms2DB, ms2DeltaMZ, sn.threshold = 3, scoreMode)

Arguments

ms2Act,

measured ms2

ms2DB,

ms2 in database

ms2DeltaMZ,

the tolerence between ms2Act and ms2DB

sn.threshold

The S/N threshold of MS2 spectrum.

scoreMode,

the mode of score, obverse, reverse or average

Value

scoreOfMS2

Examples

1
2
3
4
5
6
7
load(system.file("extdata/testData", "ms2ActTest.rda", package = "MetEx"))
load(system.file("extdata/testData", "ms2DBTest.rda", package = "MetEx"))
scoreOfMS2 <- ms2Score.old(ms2Act = ms2ActTest,
                           ms2DB = ms2DBTest,
                           ms2DeltaMZ=0.02,
                           sn.threshold = 3,
                           scoreMode='average')

zhengfj1994/MeTEA documentation built on June 29, 2021, 5:21 a.m.