Home > other >  KOG annotation R drawing related issues
KOG annotation R drawing related issues

Time:11-28

Do kog annotation enrichment drawing illustrations and color histogram in ideal should be consistent

After running this code is as follows:
 p & lt; - ggplot (data=https://bbs.csdn.net/topics/gene2cog) + 
Geom_bar (aes (x=COG,
The fill=COG_Name)) +
LABS (title="COG/KOG Function Classification",
X=", "
Y="Number of genes") +
Theme_classic () +
The theme, the plot. The title=element_text (hjust=0.5),
Legend. The title=element_blank (),
Legend. Key. Size=unit (1, "line"),
Legend. Text=element_text (size=7.5)) +
Guides (fill=guide_legend (ncol=1))

The
Illustrations and histogram of color sequence is inconsistent this kind of situation is to ask how to solve?
  • Related