Description Usage Arguments Value Warning Author(s) Examples
View source: R/MSMSpepXML-class.R
This function transforms an "MSMSpepXML"
instance
in a matrix. The object is significantly simplified, as only the first
search results and hits are kept. The matrix includes query index,
spectrum id, ion score, peptide sequence, the number of proteins
inferred and the protein(s) name(s).
1 | as.matrix.MSMSpepXML(x, ..., all = TRUE)
|
x |
an object of class |
... |
further options passed to next methods. |
all |
logical, whether all rows or only the ones with identified peptides should ne returned. |
A matrix.
If search results and hits are removed, warnings are issued.
Laurent Gatto
1 2 3 4 5 | pepxml <- system.file("extdata","tinySearch.pepXML",package="RpepXML")
x <- parseMSMSpepXML(pepxml)
as.matrix(x)
as.matrix(filterHits(x),all=TRUE)
as.matrix(filterHits(x),all=FALSE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.