ms2Score: Title Give MSMS Score.

Description Usage Arguments Value Examples

View source: R/ms2Score.R

Description

Title Give MSMS Score.

Usage

1
2
3
4
5
6
7
8
9
ms2Score(
  ms2Act,
  ms2DB,
  ms2DeltaMZ,
  sn.threshold = 3,
  noise.intensity = "minimum",
  missing.value.padding,
  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.

noise.intensity

The intensity of noise of MS2 spectrum.

missing.value.padding

The missing value padding method of MS2.

scoreMode,

the mode of score, obverse, reverse or average

Value

scoreOfMS2

Examples

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

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