Coerce identification data to a data.frame
A function to convert the identification data contained in an
mzRident
object to a data.frame
. Each row represents
a scan, which can however be repeated several times if the PSM
matches multiple proteins and/or contains two or more
modifications. To reduce the data.frame
so that rows/scans
are unique and use semicolon-separated values to combine
information pertaining a scan, use
reduce
.
from |
An object of class |
See also the Tandem MS identification data section in the MSnbase-demo vignette.
A data.frame
Laurent Gatto
## find path to a mzIdentML file identFile <- dir(system.file(package = "MSnbase", dir = "extdata"), full.name = TRUE, pattern = "dummyiTRAQ.mzid") library("mzR") x <- openIDfile(identFile) x as(x, "data.frame")
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.