Description Usage Arguments Value Examples
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.
1 | write.sqlite(res, file)
|
res |
An MSThermResultSet object |
file |
Path to the output sqlite database to be created |
Nothing
1 2 3 4 5 6 7 8 9 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.