topgo rnaseq error
1
0
Entering edit mode
@tarekmohamed-9489
Last seen 5.3 years ago

 

 

0

 

tarek.mohamed

56 minutes ago by

tarek.mohamed • 0

 

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 if is.na(index) || index < 0 || index > length(nd)) stop("vertex is not in graph: ",  : 
  missing value where TRUE/FALSE needed

Here is my script

>biocLite("topGO")
>library(topGO)

>library(org.Hs.eg.db)

>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") 

Building most specific GOs .....

    ( 0 GO terms found. )

Build GO DAG topology ..........
    ( 0 GO terms and 0 relations. )
Error in if is.na(index) || index < 0 || index > length(nd)) stop("vertex is not in graph: ",  : 
  missing value where TRUE/FALSE needed

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

Hi ,

I knew what was the mistake.

I have added gene names instead of ensembl gene id to my results, that is why the mapping did not work.

Thanks

Tarek

ADD REPLY
0
Entering edit mode
@tarekmohamed-9489
Last seen 5.3 years ago

Hi ,

I knew what was the mistake.

I have added gene names instead of ensembl gene id to my results, that is why the mapping did not work.

Thanks

Tarek

ADD COMMENT

Login before adding your answer.

Traffic: 650 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