readGEOAnn | R Documentation |
Data files that are available at GEO web site are identified by GEO accession numbers. Given the url for the CGI script at GEO and a GEO accession number, the functions extract data from the web site and returns a matrix containing the data.
readGEOAnn(GEOAccNum, url = "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?")
readIDNAcc(GEOAccNum, url = "https://www.ncbi.nlm.nih.gov/geo/query/acc.cgi?")
getGPLNames(url ="https://www.ncbi.nlm.nih.gov/geo/query/browse.cgi?")
getSAGEFileInfo(url =
"https://www.ncbi.nlm.nih.gov/geo/query/browse.cgi?view=platforms&prtype=SAGE&dtype=SAGE")
getSAGEGPL(organism = "Homo sapiens", enzyme = c("NlaIII", "Sau3A"))
readUrl(url)
url |
|
GEOAccNum |
|
organism |
|
enzyme |
|
url
is the CGI script that processes user's
request. readGEOAnn
invokes the CGI by passing a GEO
accession number and then processes the data file obtained.
readIDNAcc
calls readGEOAnn
to read the
data and the extracts the columns for probe ids and accession numbers.
The GEOAccNum
has to be the id for an Affymetrix chip.
getGPLNames
parses the html file that lists GEO
accession numbers and descriptions of the array represented by the
corresponding GEO accession numbers.
Both readGEOAnn
and readIDNAcc
return a
matrix.
getGPLNames
returns a named vector of the names of
commercial arrays. The names of the vector are the corresponding GEO
accession number.
Jianhua Zhang
# Get array names and GEO accession numbers
#geoAccNums <- getGPLNames()
# Read the annotation data file for HG-U133A which is GPL96 based on
# examining geoAccNums
#temp <- readGEOAnn(GEOAccNum = "GPL96")
#temp2 <- readIDNAcc(GEOAccNum = "GPL96")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.