Question: topgo for rnaseq ERROR
0
gravatar for tarek.mohamed
3.6 years ago by
tarek.mohamed260
tarek.mohamed260 wrote:

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

rna-seq topgo • 1.5k views
ADD COMMENTlink modified 3.6 years ago by Devon Ryan94k • written 3.6 years ago by tarek.mohamed260

You probably want to post this on the bioconductor site instead.

ADD REPLYlink written 3.6 years ago by Devon Ryan94k

Hi,

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

thanks

Tarek

ADD REPLYlink written 3.6 years ago by tarek.mohamed260
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1198 users visited in the last hour