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

chargeRange

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

Examples

parameters <- msgfPar(system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta'))
chargeRange(parameters) <- c(2, 4)
chargeRange(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.