dbUpdateAnnotation {maDB} | R Documentation |
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.
dbUpdateAnnotation(Con,data,chip,date,do.backup=TRUE,v=TRUE)
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. |
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.
Johannes Rainer
dbGetAnnotation
insertIntoTable
dbConnect
updateDBTable