enrichplot icon indicating copy to clipboard operation
enrichplot copied to clipboard

emapplot( ) failed, Graph must be directed

Open bakerwm opened this issue 4 years ago • 0 comments

emapplot() failed with 0 or 1 records of enrishResult

> class(a)
[1] "enrichResult"
attr(,"package")
[1] "DOSE"

> nrow(a)
[1] 1

> a@result 
ID  Description GeneRatio   BgRatio       pvalue   p.adjust     qvalue                geneID Count      
GO:0003729 GO:0003729 mRNA binding      5/34 201/12127 0.0002239694 0.01814152 0.01673876 bru1/BicC/egl/osk/swa     5

> enrichplot::emapplot(a) 
Error in graph_to_tree(graph, mode = direction) : Graph must be directed

bakerwm avatar May 24 '20 13:05 bakerwm