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

you can use:

 

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

 

 

ADD COMMENTlink written 15 months ago by Guangchuang Yu800
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: 117 users visited in the last hour