MSnbase (version 1.20.7)

readMzTabData_v0.9: Read an 'mzTab' file

Description

This function can be used to create a "MSnSet" by reading and parsing an mzTab file. The metadata section is always used to populate the MSnSet's experimentData slot.

Usage

readMzTabData_v0.9(file, what = c("PRT", "PEP"), verbose = TRUE)

Arguments

file
A character with the mzTab file to be read in.
what
One of "PRT" or "PEP", defining which of protein of peptide section should be parse. The metadata section, when available, is always used to populate the experimentData slot.
verbose
Produce verbose output.

Value

An instance of class MSnSet.

See Also

writeMzTabData to save an "MSnSet" as an mzTab file.

Examples

Run this code
testfile <- "https://raw.githubusercontent.com/HUPO-PSI/mzTab/master/legacy/jmztab-1.0/examples/mztab_itraq_example.txt"
prot <- readMzTabData_v0.9(testfile, "PRT")
prot
pep <- readMzTabData_v0.9(testfile, "PEP")
pep

Run the code above in your browser using DataLab