filter.lib.precursors2: Filters slot PrecursorData$Consensus, and returns the...

View source: R/FilterLibPrecursors2.R

filter.lib.precursors2R Documentation

Filters slot PrecursorData$Consensus, and returns the filtered Precursor information in PrecursorData$ConsensusFilter

Description

Filters slot PrecursorData$Consensus, and returns the filtered Precursor information in PrecursorData$ConsensusFilter

Usage

## S3 method for class 'lib.precursors2'
filter(calibrationLib, exUniMod, precAARange, chargeRange, exAAs)

Arguments

calibrationLib

input SpectrastLibrary object

exUniMod

numeric vector with UniMod accession numbers. A Precursor having any of these modification will be excluded.

precAARange

numeric vector specifying the allowed length range in AA, that a Precursor is allowed to have.

chargeRange

allowed charge range for precursors.

exAAs

character vector describing AAs that a Precursor cannot have in its sequence.


MarcIsak/MSLibrarian documentation built on Aug. 27, 2022, 4:55 a.m.