subsetIBSpectra: Subset IBSpectra objects

Description Usage Arguments Author(s) See Also Examples

View source: R/IBSpectra-class.R

Description

Returns an IBSpectra object which is a subset of the input, excluding or exclusively containing the peptides or proteins supplied.

Usage

1
2
3
subsetIBSpectra(x, protein = NULL, peptide = NULL,
                direction = "exclude",
                specificity = c(REPORTERSPECIFIC, GROUPSPECIFIC, UNSPECIFIC), ...)

Arguments

x

IBSpectra object.

protein

Protein group identifiers. Use protein.g to get protein group identifiers from protein database ACs.

peptide

Peptide sequences.

direction

either 'include' or 'exclude'.

specificity

When 'protein' is supplied: Which peptides should be selected? See specificities.

...

Further arguments passed to spectrumSel

Author(s)

Florian P Breitwieser

See Also

protein.g, spectrumSel, specificities

Examples

1
2
3
4
5
6
7
data(ibspiked_set1)

# get Keratin proteins
keratin.proteins <- protein.g(proteinGroup(ibspiked_set1),"Keratin")

# exclude Keratin proteins
subsetIBSpectra(ibspiked_set1,protein=keratin.proteins,direction="exclude")

isobar documentation built on Nov. 8, 2020, 7:48 p.m.