Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

isotopeError

Get and set isotope error in msgfPar objects


Description

These functions allow you to retrieve and set the isotope error used when calculating the parent ion error range

Usage

isotopeError(object)

isotopeError(object) <- value

## S4 method for signature 'msgfPar'
isotopeError(object)

## S4 replacement method for signature 'msgfPar,numeric'
isotopeError(object) <- value

## S4 replacement method for signature 'msgfPar,msgfParIsotopeError'
isotopeError(object) <- value

Arguments

object

An msgfPar object

value

Either an integer vector or an msgfParIsotopeError object

Value

In case of the getter an integer vector

Methods (by class)

  • msgfPar: Get the isotope error currently used

  • object = msgfPar,value = numeric: Set the isotope error with an integer vector

  • object = msgfPar,value = msgfParIsotopeError: Set the isotope error with an msgfParIsotopeError object

See Also

Examples

parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
isotopeError(parameters) <- c(0, 3)
isotopeError(parameters)

MSGFplus

An interface between R and MS-GF+

v1.24.0
GPL (>= 2)
Authors
Thomas Lin Pedersen
Initial release
2020-09-01

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.