| getInputFile {MSstatsConvert} | R Documentation |
MSstatsInputFiles class.Get one of files contained in an instance of MSstatsInputFiles class.
getInputFile(msstats_object, file_type) ## S4 method for signature 'MSstatsInputFiles' getInputFile(msstats_object, file_type = "input")
msstats_object |
object that inherits from |
file_type |
character name of a type file. Usually equal to "input". |
data.table
data.table
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"))