tda: Get and set use of target-decoy approach in msgfPar objects

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

Description

These functions allow you to retrieve and set whether the target-decoy approach should be used to estimate q-values.

Usage

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

tda(object) <- value

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

## S4 replacement method for signature 'msgfPar,logical'
tda(object) <- value

## S4 replacement method for signature 'msgfPar,msgfParTda'
tda(object) <- value

Arguments

object

An msgfPar object

value

Either a boolean or msgfParTda object

Value

In case of the getter a boolean indicating whether tda is used or not

Methods (by class)

See Also

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

Examples

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

thomasp85/MSGFplus documentation built on Aug. 29, 2020, 5:23 a.m.