Hi,
I am wondering if I can get a list (x) for BP category of GOTERM whose
structure is like:
x$GOTermID1: entrezgene id1, entrezgene id2.....
x$GOTermID2: entrezgene id1, entrezgene id2.....
...
I did not find any pdf which shows me how to get this.
Thanks,
--
Weiwei Shi, Ph.D
Research Scientist
GeneGO, Inc.
"Did you always know?"
"No, I did not. But I believed..."
---Matrix III
[[alternative HTML version deleted]]
On Mon, Oct 13, 2008 at 12:18 PM, Weiwei Shi <helprhelp at="" gmail.com="">
wrote:
> Hi,
>
> I am wondering if I can get a list (x) for BP category of GOTERM
whose
> structure is like:
>
> x$GOTermID1: entrezgene id1, entrezgene id2.....
> x$GOTermID2: entrezgene id1, entrezgene id2.....
> ...
>
> I did not find any pdf which shows me how to get this.
You didn't mention what organism you want or your sessionInfo(), but
assuming human and R-2.7 or later:
library(org.Hs.eg.db)
x <- as.list(org.Hs.egGO2ALLEGS)
This will give you all the GO terms. You could limit to BP by using
the GO package to find all GOBPOFFSPRING.
Sean