Search
Question: ReactomePA - Change colors in barplot
0
gravatar for David
17 months ago by
David860
David860 wrote:

Hi,

barplot(x, showCategory=8)

 

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

ADD COMMENTlink modified 17 months ago by Guangchuang Yu870 • written 17 months ago by David860
0
gravatar for Guangchuang Yu
17 months ago by
Hong Kong
Guangchuang Yu870 wrote:

you can use:

 

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

 

 

ADD COMMENTlink written 17 months ago by Guangchuang Yu870
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.2.0
Traffic: 288 users visited in the last hour