enrichGOgradient color change
1
0
Entering edit mode
inna.gur • 0
@9688cd82
Last seen 7 days ago
Israel

Hi all,

For the past month the gradient colors of the Dotplot following EnrichGO (clusterProfiler) have changed. Instead of bright red to blue/purple, its pale red/ orange and strange blue.

I didn't change the code, just using the standard dotplot(ego2, color="p.adjust") How can I fix it and return to the older bright colors.

Thanks

older version

new version

clusterProfiler • 162 views
ADD COMMENT
0
Entering edit mode
@james-w-macdonald-5106
Last seen 1 day ago
United States

Set the colors first.

options(enrichplot.colours = c("red","blue"))
dotplot(ego2)
0
Entering edit mode

Amazing :) It worked. Thank you!

ADD REPLY

Login before adding your answer.

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