getInputFile: Get one of files contained in an instance of...

Description Usage Arguments Value Examples

Description

Get one of files contained in an instance of MSstatsInputFiles class.

Usage

1
2
3
4
getInputFile(msstats_object, file_type)

## S4 method for signature 'MSstatsInputFiles'
getInputFile(msstats_object, file_type = "input")

Arguments

msstats_object

object that inherits from MSstatsInputFiles class.

file_type

character name of a type file. Usually equal to "input".

Value

data.table

data.table

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
evidence_path = system.file("tinytest/raw_data/MaxQuant/mq_ev.csv", 
                            package = "MSstatsConvert")
pg_path = system.file("tinytest/raw_data/MaxQuant/mq_pg.csv", 
                      package = "MSstatsConvert")
evidence = read.csv(evidence_path)
pg = read.csv(pg_path)
imported = MSstatsImport(list(evidence = evidence, protein_groups = pg),
                         "MSstats", "MaxQuant")
class(imported)
head(getInputFile(imported, "evidence"))

MSstatsConvert documentation built on Nov. 8, 2020, 5:49 p.m.