Insert results

Share:

Description

Insert results

Usage

1
2
3
4
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 initializeDb

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

1
2
3
4
5
6
7
8
  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)