insertFigures: Insert figure links

Description Usage Arguments Value Examples

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)


Search within the tigreBrowserWriter package
Search all R packages, documentation and source code

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

Please suggest features or report bugs with the GitHub issue tracker.

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