insertFigures {tigreBrowserWriter}R Documentation

Insert figure links

Description

Insert figure links

Usage

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

  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)

[Package tigreBrowserWriter version 0.1.5 Index]