ReactomePA - Change colors in barplot
1
0
Entering edit mode
David ▴ 860
@david-3335
Last seen 3.6 years ago

Hi,

barplot(x, showCategory=8)

 

how do you set a new color palette and discard the default ??

reactomepa • 824 views
ADD COMMENT
0
Entering edit mode
Guangchuang Yu ★ 1.2k
@guangchuang-yu-5419
Last seen 8 months ago
China/Guangzhou/Southern Medical Univer…

you can use:

 

barplot(x) + ggplot2::scale_color_continuous(low=color_1, high=color_2).

 

 

ADD COMMENT

Login before adding your answer.

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