List sample annotation of samples for a given GSE

Share:

Description

Extract the phenotypic data of each sample record (GSM) in the specified GSE in a tabular format

Usage

1
GSMdescriptions(con, GSEid, GPLid = "")

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

GPLid

character string specifying the GPL ID. The default value is "", in which case the phenotypic data will be extracted for each of the GPLs in the GSE specified by GSEid.

Details

The function uses the corresponding GDS (if available for that GSE) in order to retrieve the phenotypic data. If a GDS is not available, it generates phenotypic data based on the sample characteristics, sample source, and sample title specified for each GSM. In case of a double-channel experiment, sample characteristics and sample source are given for both channels.

Value

A character matrix containing a row for each GSM and columns for the phenotypic data and the GPL ID(s) of the platform used.

Author(s)

Umesh K. Nandal

Examples

1
2
3
4
5
 ## Not run: 
  conn <- connectDatabase(user="usrname",password="passwd",dbname="compendium")
  GSMdescriptions(conn,"GSE1657")
 
## End(Not run)