isotopeError: Get and set isotope error in msgfPar objects

isotopeErrorR Documentation

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

Other msgfPar-getter_setter: chargeRange, db, enzyme, fragmentation, instrument, lengthRange, matches, mods, ntt, protocol, tda, tolerance

Examples

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

thomasp85/MSGFplus documentation built on Oct. 2, 2024, 9:26 a.m.