as.data.frame.MSThermResultSet {mstherm}R Documentation

MSResultSet to data frame.

Description

Populates a data frame with information from an MSResultSet, one row per protein/group

Usage

## S3 method for class 'MSThermResultSet'
as.data.frame(x, ...)

Arguments

x

an MSResultSet object

...

additional arguments passed to or from other functions

Value

A data frame populated with relevant information per result

Examples

control <- system.file("extdata", "demo_project/control.tsv", package="mstherm")
annots  <- system.file("extdata", "demo_project/annots.tsv",  package="mstherm")
expt    <- MSThermExperiment(control, annotations=annots)
expt    <- normalize_to_std(expt, "cRAP_ALBU_BOVIN", plot=FALSE)
res     <- model_experiment(expt, bootstrap=FALSE, np=2)

df <- as.data.frame(res)


[Package mstherm version 0.4.7 Index]