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, enzyme, fragmentation, instrument, isotopeError, lengthRange, matches, mods, ntt, protocol, tda, tolerance

Examples

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

MSGFplus documentation built on Nov. 17, 2017, 9:04 a.m.