Learn R Programming

compendiumdb (version 1.0.3)

updatePhenoData: Update the phenotypic data of a GSE record

Description

Update the phenotypic data of a GEO series (GSE) record and store the updated phenotypic data into the compendium database

Usage

updatePhenoData(con, GSEid, data)

Arguments

con
list containing a connection object specifying the user name and password to connect or interact with the compendium database (see connectDatabase)
GSEid
character string specifying the GSE ID
data
character matrix object containing all GSM IDs for the GSE specified by GSEid as rownames followed by columns containing updated annotation of the corresponding samples. Column names may different from those returned by GMSdescriptions. This will overwrite the phenotypic data currently stored in the compendium database and the user is prompted to confirm this.

Examples

Run this code
 ## Not run: 
#   conn <- connectDatabase(user="usrname",password="passwd",dbname="compendium")
#   
#   GSMdescriptions(conn,"GSE18290")
#   tab <- GSMdescriptions(conn,"GSE18290")
# 
#   # As an example just replace the current annotation by the same annotation
#   updatePhenoData(conn,"GSE18290",tab)
#   GSMdescriptions(conn,"GSE18290")
# 
#  ## End(Not run)

Run the code above in your browser using DataLab