美文网首页生信图可视化大全
GO 富集分析 首字母大写

GO 富集分析 首字母大写

作者: 一路向前_莫问前程_前程似锦 | 来源:发表于2019-10-24 21:09 被阅读0次
ego <- enrichGO(gene          = eg$ENTREZID,
                OrgDb         = org.Hs.eg.db,
                ont           = "BP",
                pAdjustMethod = "BH",
                pvalueCutoff  = 0.01,
                qvalueCutoff  = 0.05,
                readable      = TRUE)
ego2=simplify(ego)
ego3=data.frame(ego2)
ego2@result$Description=paste0(toupper(substring(ego2@result$Description, 1, 1)),substring(ego2@result$Description, 2))

p1 <- dotplot(ego2, showCategory=20,color = "pvalue") + ggtitle("dotplot for GO")
p2 <- dotplot(kegg, showCategory=20,color = "pvalue") + ggtitle("dotplot for KEGG")
pdf("combinde.pdf",width = 15,height = 9)
plot_grid(p2, p1, ncol=2, labels = c("A","B"))
dev.off()
image.png

相关文章

网友评论

    本文标题:GO 富集分析 首字母大写

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