db: Get and set database in msgfPar objects

dbR Documentation

Get and set database in msgfPar objects

Description

These functions allow you to retrieve and set the location of the database fasta file in the msgfPar object of interest

Usage

db(object)

db(object) <- value

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

## S4 replacement method for signature 'msgfPar,character'
db(object) <- value

Arguments

object

An msgfPar object

value

A string matching the location of a fasta file

Value

In case of the getter a character vector with the location of the database file

Methods (by class)

  • msgfPar: Get the database location

  • object = msgfPar,value = character: Set the database location

See Also

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

Examples

parameters <- msgfPar()
db(parameters) <- system.file(package='MSGFplus', 'extdata', 'milk-proteins.fasta')
db(parameters)


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