KEGG enrichment dotplot
1
0
Entering edit mode
2.2 years ago
mahsa • 0

Hello friends. I'm trying to visualize a dotplot using enrichplot package in R for KEGG and GO object created by enrichKEGG and enrichGO function of clusterprofiler package, but I get this error every time :

wrong orderBy parameter; set to default `orderBy = "x"` Error in ans[ypos] <- rep(yes, length.out = len)[ypos] : replacement has length zero

I don't know why. i tried everything but nothing happened. Does anyone know the answer? does anyone know what I have to do ?

clusterprofiler KEGG and enrichment dotplot GO • 2.7k views
ADD COMMENT
0
Entering edit mode

I get the same error. Did you manage to solve this?

ADD REPLY
2
Entering edit mode
2.2 years ago

It seems you are not the only one who is getting this error, based on this GitHub issue. a workaround is to install the latest version of the package from the GitHub repo:

## install.packages("devtools")
devtools::install_github("YuLab-SMU/enrichplot")
ADD COMMENT
0
Entering edit mode

tnx for your help. I did that function, but it didn't work. I get that error yet. This error :

Error in ans[ypos] <- rep(yes, length.out = len)[ypos] : replacement has length zero

I really don't know what the problem is.

ADD REPLY

Login before adding your answer.

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