chargeRange: Get and set the charge range in msgfPar objects

chargeRangeR Documentation

Get and set the charge range in msgfPar objects

Description

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

Usage

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)

  • msgfPar: Get the charge range

  • object = msgfPar,value = numeric: Set the charge range using lower and upper bounds

  • object = msgfPar,value = msgfParChargeRange: Set the charge range using a dedicated msgfParChargeRange object

See Also

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

Examples

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


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