chargeRange: Get and set the charge range in msgfPar objects

Description Usage Arguments Value Methods (by class) See Also Examples

Description

These functions allow you to retrieve and set the charge range in the msgfPar object of interest

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
chargeRange(object)

chargeRange(object) <- value

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

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

## S4 replacement method for signature 'msgfPar,msgfParChargeRange'
chargeRange(object) <- value

Arguments

object

An msgfPar object

value

Either a numeric vector of length 2 or an msgfParChargeRange object

Value

In case of the getter a numeric vector with the named elements 'min' and 'max'

Methods (by class)

See Also

Other msgfPar-getter_setter: db, db,msgfPar-method, db<-, db<-,msgfPar,character-method; enzyme, enzyme,msgfPar-method, enzyme<-, enzyme<-,msgfPar,character-method, enzyme<-,msgfPar,msgfParEnzyme-method, enzyme<-,msgfPar,numeric-method; fragmentation, fragmentation,msgfPar-method, fragmentation<-, fragmentation<-,msgfPar,character-method, fragmentation<-,msgfPar,msgfParFragmentation-method, fragmentation<-,msgfPar,numeric-method; instrument, instrument,msgfPar-method, instrument<-, instrument<-,msgfPar,character-method, instrument<-,msgfPar,msgfParInstrument-method, instrument<-,msgfPar,numeric-method; isotopeError, isotopeError,msgfPar-method, isotopeError<-, isotopeError<-,msgfPar,msgfParIsotopeError-method, isotopeError<-,msgfPar,numeric-method; lengthRange, lengthRange,msgfPar-method, lengthRange<-, lengthRange<-,msgfPar,msgfParLengthRange-method, lengthRange<-,msgfPar,numeric-method; matches, matches,msgfPar-method, matches<-, matches<-,msgfPar,msgfParMatches-method, matches<-,msgfPar,numeric-method; mods, mods,msgfPar-method, mods<-, mods<-,msgfPar,msgfParModificationList-method, nMod, nMod,msgfPar-method, nMod<-, nMod<-,msgfPar,numeric-method; ntt, ntt,msgfPar-method, ntt<-, ntt<-,msgfPar,msgfParNtt-method, ntt<-,msgfPar,numeric-method; protocol, protocol,msgfPar-method, protocol<-, protocol<-,msgfPar,character-method, protocol<-,msgfPar,msgfParProtocol-method, protocol<-,msgfPar,numeric-method; tda, tda,msgfPar-method, tda<-, tda<-,msgfPar,logical-method, tda<-,msgfPar,msgfParTda-method; tolerance, tolerance,msgfPar-method, tolerance<-, tolerance<-,msgfPar,character-method, tolerance<-,msgfPar,msgfParTolerance-method, toleranceRange, toleranceRange,msgfPar-method, toleranceRange<-, toleranceRange<-,msgfPar,numeric-method, toleranceUnit, toleranceUnit,msgfPar-method, toleranceUnit<-, toleranceUnit<-,msgfPar,character-method

Examples

1
2
3
parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
chargeRange(parameters) <- c(2, 4)
chargeRange(parameters)

thomasp85/MSGFplus-release documentation built on May 31, 2019, 11:09 a.m.