readMzIdData: Import peptide-spectrum matches

View source: R/functions-addIdentificationData.R

readMzIdDataR Documentation

Import peptide-spectrum matches

Description

Reads as set of mzId files containing PSMs an generates a data.frame.

Usage

readMzIdData(files)

Arguments

files

A character of mzid files.

Details

This function uses the functionality provided by the mzR package to access data in the mzId files. An object of class mzRident can also be coerced to a data.frame using as(, "data.frame").

Value

A data.frame containing the PSMs stored in the mzId files.

Author(s)

Laurent Gatto

See Also

filterIdentificationDataFrame() to filter out unreliable PSMs.

Examples

idf <- "TMT_Erwinia_1uLSike_Top10HCD_isol2_45stepped_60min_01-20141210.mzid"
f <- msdata::ident(full.names = TRUE, pattern = idf)
basename(f)
readMzIdData(f)

lgatto/MSnbase documentation built on March 14, 2024, 7:06 a.m.