readMzIdData: Import peptide-spectrum matches

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/functions-addIdentificationData.R

Description

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

Usage

1

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

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

MSnbase documentation built on Jan. 23, 2021, 2 a.m.