insertResults {tigreBrowserWriter} | R Documentation |
Insert results
Description
Insert results
Usage
insertResults(db, experimentName, regulatorName, figurePath, loglikelihoods,
baselineloglikelihoods = NA, experimentDesc = "", loopVariable = 2,
modelTranslation = FALSE, numberOfParameters = NA, parameterNames = NA,
experimentProducer = "", experimentTimestamp = "", parameters = NA)
Arguments
db |
Database object created by |
experimentName |
Experiment name |
regulatorName |
Regulator name (more detailed experiment identifier) |
figurePath |
URL path to figures |
loglikelihoods |
A vector of log-likelihoods of elements identified by names |
baselineloglikelihoods |
A vector of baseline log-likelihoods of elements identified by names (optional) |
experimentDesc |
Optional experiment description |
loopVariable |
Optional: Loop variable (1=regulator, 2=target (default)) |
modelTranslation |
Optional: For gene regulation models, is translation modelled |
numberOfParameters |
Optional: Number of parameters |
parameterNames |
Optional: Parameter names |
experimentProducer |
Optional: Experiment producer (string) |
experimentTimestamp |
Optional: Experiment timestamp (string) |
parameters |
Optional: A vector of parameter values for the model |
Value
An updated database object db
Examples
db <- initializeDb("", "My Dataset")
logl <- c(-4.0, -2.0, 0.0)
names(logl) <- c("A", "B", "C")
baselogl <- c(1.0, -1.0, 4.0)
names(baselogl) <- names(logl)
db <- insertResults(db, "testexperiment", "testregulator", "",
logl, baselineloglikelihoods=baselogl)
closeDb(db)
[Package tigreBrowserWriter version 0.1.5 Index]