Description Usage Arguments Value Author(s) Examples
Function for building an SQLite database for displaying GP profiles of the selected items on a browser, enabling to rank them according to their Bayes factors and other provided parameters. For details of using tigreBrowser, please refer to https://github.com/PROBIC/tigreBrowser and. https://github.com/PROBIC/tigreBrowserWriter.
1 | createDatabase(dbInfo, figs)
|
dbInfo |
List which contains the required information
of the items that will be included in the database.
Three arguments must be specified in the
|
figs |
Character vector containing the figure names. |
Generates an SQLite database named "$database_name.sqlite".
Hande Topa, hande.topa@helsinki.fi
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | BF=c(3,10,2)
FoldChange=c(0.5,3,5)
dbParams=list("BF"=BF,"Fold change"=FoldChange)
identifiers=c("geneA","geneB","geneC")
dbInfo=list(database_name="testdb","database_params"=dbParams,"identifiers"=identifiers)
figs=c("geneA_gene.png","geneA_abstr.png","geneA_reltr.png","geneB_gene.png",
"geneB_abstr.png","geneB_reltr.png","geneC_gene.png","geneC_abstr.png","geneC_reltr.png")
for (i in seq(1,9)) {
examplefig=figs[i]
png(examplefig)
plot(c(0, 1), c(0, 1))
dev.off()
}
createDatabase(dbInfo,figs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.