{
##Load Show Gene List file report for the input demo file 1, using data
##function. Then, create a DAVIDGenes object using the loaded data.frame
##geneList1. In addition, the user can use the file name of the downloaded
##file report.
data(geneList1)
davidGenes1<-DAVIDGenes(geneList1)
##Now we can inspect davidGenes1 as it was an common data.frame
head(davidGenes1)
##Additional getters for this object are also available, to obtain the
##different columns: ids, genes and species.
ids(davidGenes1)
genes(davidGenes1)
species(davidGenes1)
##Or even look up for a particular gene id, which will return only the
##matched ones.
genes(davidGenes1, ids=c("38926_at", "35367_at", "no match"))
##Obtain the genes with duplicate manufacturer ids or just the genes that
##do not have duplicate ids (uniqueIds).
duplicateIds(davidGenes1)
uniqueIds(davidGenes1)
}
Run the code above in your browser using DataLab