ggplot2绘图

2019-06-17 R画图文字换行

2019-06-17  本文已影响0人  njmujjc

library(stringr)

library(ggplot2)

library(clusterProfiler)

data(geneList)

de <- names(geneList)[1:100]

x <- enrichKEGG(de)

p <- barplot(x)

p + scale_x_discrete(labels=function(x) str_wrap(x, width=10))

from: Y叔       biobabble

上一篇 下一篇

猜你喜欢

热点阅读