探序基因肿瘤研究院 整理
1. 某基因在Tumor和Normal两组的表达量的图
在一个文本文件构造数据文件:
构造的基因表达文件
library(ggpubr)
GeneExp <- read.table("D:/plotxxt.txt")
ggboxplot(GeneExp, x = "V1", y = "V2", add = "dotplot")
画出来的散点图
或者:
p <- ggboxplot(GeneExp, x = "V1", y = "V2", add = "jitter",title = gene)
p + stat_compare_means(method = "t.test")
图上将显示有p值
d











网友评论