Search
Question: ReactomePA - Change colors in barplot
0
gravatar for David
2.2 years 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 2.2 years ago by Guangchuang Yu1.0k • written 2.2 years ago by David860
0
gravatar for Guangchuang Yu
2.2 years ago by
Guangchuang Yu1.0k
China/Guangzhou/Southern Medical University
Guangchuang Yu1.0k wrote:

you can use:

 

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

 

 

ADD COMMENTlink written 2.2 years 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: 147 users visited in the last hour