insertSupplementaryData {tigreBrowserWriter}R Documentation

Insert supplementary data

Description

Insert supplementary data

Usage

insertSupplementaryData(db, name, suppData, regulatorName = NA, source = "",
  platform = "", description = "")

Arguments

db

Database object created by initializeDb

name

Name of the supplementary data

suppData

A vector of supplementary data of elements identified by names

regulatorName

Regulator name the data links to (optional)

source

Optional annotation: source

platform

Optional annotation: platform

description

Optional annotation: description

Value

An updated database object db

Examples

  db <- initializeDb("", "My Dataset")
  suppdata <- c(1, 2, 3)
  names(suppdata) <- c("A", "B", "C")
  db <- insertSupplementaryData(db, "supptest", suppdata)
  boolsupp <- c(TRUE, TRUE, FALSE)
  names(boolsupp) <- names(suppdata)
  db <- insertSupplementaryData(db, "supptest_bool", boolsupp)
  closeDb(db)

[Package tigreBrowserWriter version 0.1.5 Index]