Search
Question: ReactomePA - Change colors in barplot
0
gravatar for David
20 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 20 months ago by Guangchuang Yu960 • written 20 months ago by David860
0
gravatar for Guangchuang Yu
20 months ago by
Hong Kong
Guangchuang Yu960 wrote:

you can use:

 

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

 

 

ADD COMMENTlink written 20 months ago by Guangchuang Yu960
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: 329 users visited in the last hour