使用clusterprofile做聚类分析

更新时间:2023-07-07 05:30:42 阅读: 评论:0

面试十大禁忌
使⽤clusterprofile做聚类分析library(clusterProfiler )
#
gene_symbol
EXOSC10
ARHGEF10L
VWA5B1
SRRM1
PTAFR
CSMD2
SH3GLB1
GBP6野猪肉可以吃吗
ZNF326
表白的歌词
AKNAD1
STRIP1
GOLPH3L
太阳的影子
...............
a <- read.table("",colClass = "character")
b <- a[,1]
eg = bitr(b, fromType="SYMBOL", toType="ENTREZID", annoDb="db")
head(eg)
write.table(eg, file="")
idType("db")
gene <- eg[,2]
head(gene)
ggo <- groupGO(gene = gene,
organism = "human",
罗汉果的ont = "BP",
level = 7,波普尔
readable = TRUE)
head(summary(ggo))
write.table(as.matrix(ggo@result), file="")
#导出ggo的结果
ego_cc <- enrichGO(gene = gene,
organism = "human",
ont = "CC",
pAdjustMethod = "BH",
minGSSize = 1,
pvalueCutoff = 1,
qvalueCutoff = 1,
readable = TRUE)
head(summary(ego))
write.table(as.matrix(ego_cc@result), file="")
ego_BP <- enrichGO(gene = gene,
organism = "human",
ont = "BP",
pAdjustMethod = "BH",
minGSSize = 1,
pvalueCutoff = 1,
qvalueCutoff = 1,
readable = TRUE)
write.table(as.matrix(ego_BP@result), file="")
ego_MF <- enrichGO(gene = gene,
双冠龙图片organism = "human",
ont = "MF",
pAdjustMethod = "BH",
minGSSize = 1,
pvalueCutoff = 1,
qvalueCutoff = 1,
readable = TRUE)
write.table(as.matrix( ego_MF@result), file="") kk <- enrichKEGG(gene = gene,
organism="human",
pvalueCutoff = 1,
qvalueCutoff = 1,
minGSSize = 1,
readable = TRUE,
u_internal_data =FALSE)
write.table(as.matrix(kk@result), file="")
# barplot(ggo, drop=TRUE, showCategory=24)
barplot(ego_cc, showCategory=24)
dotplot(ego_cc)
barplot(ego_BP, showCategory=24)
dotplot(ego_BP)
barplot(ego_MF, showCategory=24)
dotplot(ego_MF)
barplot(kk, drop=TRUE, showCategory=24)
dev.off()
>生态工程原理

本文发布于:2023-07-07 05:30:42,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/89/1071224.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:生态   面试   表白   影子   结果   图片   工程   禁忌
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图