write.sqlite {mstherm} | R Documentation |
Export MSThermResultSet to an SQLite database.
Description
Exports and MSThermResultSet object to a new SQLite database file. Each model (specific to a given replicate and protein) is exported as an individual record. The schema used for the 'data' table can be seen in the code below.
Usage
write.sqlite(res, file)
Arguments
res |
An MSThermResultSet object |
file |
Path to the output sqlite database to be created |
Value
Nothing
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)
fn <- tempfile(fileext = ".sqlite")
write.sqlite(res, fn)
unlink(fn) # for example only
[Package mstherm version 0.4.7 Index]