美文网首页ggplot2绘图
2019-06-17 R画图文字换行

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

作者: njmujjc | 来源:发表于2019-06-17 16:29 被阅读0次

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

相关文章

网友评论

    本文标题:2019-06-17 R画图文字换行

    本文链接:https://www.haomeiwen.com/subject/ogxzfctx.html