insertFigures: Insert figure links

Description

Insert figure links

Usage

1
2
insertFigures(db, experimentName, regulatorName, filename, name = "",
  description = "", priority = 0)

Arguments

db

Database object created by initializeDb

experimentName

Experiment name

regulatorName

Regulator name (more detailed experiment identifier)

filename

URL path to figures. The path can contain the special form ${probe_name} which will be substituted by the name of the entity (gene, ...) by the browser.

name

Optional figure name

description

Optional figure description

priority

Integer priority used for sorting figures (default: 0)

Value

An updated database object db

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
  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)
  db <- insertFigures(db, "testexperiment", "testregulator",
                      "http://foo.invalid/path/${probe_name}_fit.png")
  closeDb(db)

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.