topGO fro RNA-seq
0
0
Entering edit mode
@tarekmohamed-9489
Last seen 5.8 years ago

Hi,

I am trying to use topgo to do GO analysis for a RNA-seq data I have analyzed using DESeq2.

I got this error

Error in getClass(Class, where = topenv(parent.frame())) : 
  “topGOdata” is not a defined class

Here is my script

>biocLite("topGO")
>library(topGO)
>all <- res$padj
>names(all) <- rownames(res)
>all <- na.omit(all)
>head(all)
>names(all)
>str(res$padj)
>head(res)
>GOdata <- new("topGOdata",ontology = "CC", allGenes = all, geneSel=function(p) p < 0.01, description ="CardiomyocytesGenes", annot=annFUN.org, mapping="org.Hs.eg.db", ID="Ensembl") 

Error in getClass(Class, where = topenv(parent.frame())) : 
  “topGOdata” is not a defined class

 

Thanks,

Tarek

topgo rnaseq • 2.7k views
ADD COMMENT
0
Entering edit mode

Hi,

I have installed the most recent versions for R and Bioconductor and the issue was solved.

thanks

Tarek

ADD REPLY
0
Entering edit mode

Restart R and reload library(topGO)

 

 

ADD REPLY

Login before adding your answer.

Traffic: 793 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6