calc.delta.score {isobar} | R Documentation

## Calculate Delta Score from Ion Score

### Description

Calculates delta score from raw search engine score by substracting the best matching hit with the second best matching. data needs to have not only the best hit per spectrum, but multiple, to be able to calculate the delta score. filterSpectraDeltaScore calls `calc.delta.score` and filters spectra below a minum delta score.

### Usage

    calc.delta.score(my.data)
    filterSpectraDeltaScore(my.data, min.delta.score=10, do.remove=FALSE)

### Arguments

`my.data` | IBSpectra data frame.
`min.delta.score` | Minimum delta score.
`do.remove` | If TRUE, spectra below the min.prob threshold are not just set as 'use.for.quant=FALSE' but removed.

### Value

Returns data with additional column 'delta.score'.

### Author(s)

Florian P. Breitwieser

[Package isobar version 1.26.0 Index]