subsetIBSpectra {isobar} | R Documentation |
Returns an IBSpectra object which is a subset of the input, excluding or exclusively containing the peptides or proteins supplied.
subsetIBSpectra(x, protein = NULL, peptide = NULL, direction = "exclude", specificity = c(REPORTERSPECIFIC, GROUPSPECIFIC, UNSPECIFIC), ...)
x |
IBSpectra object. |
protein |
Protein group identifiers. Use |
peptide |
Peptide sequences. |
direction |
either 'include' or 'exclude'. |
specificity |
When 'protein' is supplied: Which peptides should
be selected? See |
... |
Further arguments passed to |
Florian P Breitwieser
protein.g
, spectrumSel
, specificities
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")