dbUpdateAnnotation {maDB}R Documentation

Create and update an annotation table in a PostgreSQL database.

Description

dbUpdateAnnotation creates and updates the annotation database table in a maDB database. \ For further informations and examples refer to the package vignette (which can be opened using the openMadbVignette).

Usage

dbUpdateAnnotation(Con,data,chip,date,do.backup=TRUE,v=TRUE)

Arguments

Con The connection to the maDB database (returned by the function dbConnect of the RdbiPgSQL package).
data The annotation table. Supported column namesare "id","gen_bank","description","uni_gene","locuslink" (also additional columns containing some additional annotations are allowed, any ordering of columns is allowed).
chip An identifier for the chip or array (oligo set) respectiveley.
date The date when the annotation was created.
do.backup If a backup of the annotation table should be done. This is usefull when the annotation of an already existing table is going to be updated. By default the annotations of the chip that will be updated will be saved as a tab delimited txt file. The backup file will be saved in the current workspace.
v If TRUE additional information will be printed to the console.

Details

When creating or updating the database not all columns have to be submitted in the data argument, when submitting a table with only some of the columns the other columns in the database will remain empty.

Author(s)

Johannes Rainer

See Also

dbGetAnnotation


[Package maDB version 1.14.1 Index]