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

you can use:

 

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

 

 

ADD COMMENTlink written 23 months ago by Guangchuang Yu1.0k
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: 158 users visited in the last hour