dbUpdateAnnotation {maDB}R Documentation

Create and update an annotation table in a PostgreSQL database.

Description

dbUpdateAnnotation this handy function help you to easily create an annotation database in a database and to keep the annotation in the database up to date.

Usage

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

Arguments

Con A connection object (create it with the dbConnect.PgSQL.conn function from the package RdbiPgSQL)
data The annotation table. The column names of the table have to be "id","gen_bank","description","uni_gene","locuslink". The order of the columns is not important.
chip An identifier for the chip or array (oligo set) respectiveley.
date The date when the annotation was created (better said the annotation was up to date).
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 file name of the txt file consists of the chip and the date and the 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

References

See Also

dbGetAnnotation insertIntoTable dbConnect updateDBTable


[Package maDB version 1.2.0 Index]