qidao123.com技术社区-IT企服评测·应用市场

标题: 曼哈顿图(GWAS结果可视化) [打印本页]

作者: 不到断气不罢休    时间: 2025-4-29 03:59
标题: 曼哈顿图(GWAS结果可视化)
基因组广泛关联研究(GWAS)结果可视化是GWAS分析的紧张步调,旨在直观地展示和表明统计分析的结果,资助研究者识别显著的遗传变异及其与表型之间的关系。以下是一些常用的GWAS结果可视化方法及其先容:

1. 曼哈顿图(Manhattan Plot)



2. QQ图(Quantile-Quantile Plot)



3. 火山图(Volcano Plot)



4. 区域关联图(Regional Association Plot)



5. 热图(Heatmap)



6. 圈图(Circos Plot)



7. 网络图(Network Plot)



8. 条形图与箱线图



可视化注意事项


推荐工具与资源


每种可视化方法实用于不同的分析场景,可以根据研究需求灵活选择。

gwas_result.assoc.txt示例数据样式(部门)
  1. SNP Chromosome Posiotion Trait1chr01:1579 1 1579 8.892120e-01chr01:1695 1 1695 9.298810e-01chr01:1708 1 1708 7.801369e-01chr01:1748 1 1748 9.272730e-01chr01:1794 1 1794 7.891402e-01chr01:1872 1 1872 9.408543e-01chr01:1948 1 1948 8.349593e-01chr01:1953 1 1953 8.349593e-01chr01:2004 1 2004 7.985962e-01
  2. ​​​​​​
复制代码
  1. #使用R作图,建议服务器中使用,计算容量较大
  2. #安装CMplot包install.packages("CMplot")
  3. ## 加载R包library("CMplot")
  4. ## 导入数据data <- read.table("gwas_result.assoc.txt",sep=" ",header=T)
  5. #绘制密度图SNP-density plotCMplot(data,type="p",plot.type="d",bin.size=1e6,chr.den.col=c("darkgreen", "yellow", "red"),file="jpg",memo="",dpi=300,    main="illumilla_60K",file.output=TRUE,verbose=TRUE,width=9,height=6)  
复制代码


  1. ## 绘制单个表型Q-Q plotCMplot(data,plot.type="q",conf.int=TRUE,box=FALSE,file="jpg",memo="",dpi=300,file.output=TRUE,verbose=TRUE,width=5,height=5)
复制代码


  1. ## 绘制单个表型Rectangular-Manhattan plot,注意threshold设置,不同数据集不同阈值设置CMplot(data,plot.type="m",LOG10=TRUE,threshold=5.78e-09,file="tif",memo="",dpi=500,file.output=TRUE,verbose=TRUE,width=18,height=8,signal.col=NULL)
  2. CMplot(data,plot.type="m",LOG10=TRUE,threshold=2.89e-08,file="tif",memo="",dpi=500,file.output=TRUE,verbose=TRUE,width=18,height=8,signal.col=NULL)
复制代码



多表型绘制代码:​​​​​​​
  1. #Genome-wide association study(GWAS)多表型作图,注意threshold设置,不同数据集不同阈值设置CMplot(data,type="p",plot.type="c",chr.labels=paste("Chr",c(1:14),sep=""),r=0.4,cir.legend=TRUE,        outward=FALSE,cir.legend.col="black",cir.chr.h=1.3,chr.den.col="black",file="jpg",        memo="",dpi=300,file.output=TRUE,verbose=TRUE,width=10,height=10)    CMplot(data,type="p",plot.type="c",r=0.4,col=c("grey30","grey60"),chr.labels=paste("Chr",c(1:14),sep=""),      threshold=c(5.78e-09,2.89e-08),cir.chr.h=1.5,amplify=TRUE,threshold.lty=c(1,2),threshold.col=c("red",      "blue"),signal.line=1,signal.col=c("red","green"),chr.den.col=c("darkgreen","yellow","red"),      bin.size=1e6,outward=FALSE,file="jpg",memo="",dpi=300,file.output=TRUE,verbose=TRUE,width=10,height=10)####manhatton plotCMplot(data, plot.type="m", LOG10=TRUE, ylim=NULL, threshold=c(5.78e-09,2.89e-08),threshold.lty=c(1,2),        threshold.lwd=c(1,1), threshold.col=c("black","grey"), amplify=TRUE,bin.size=1e6,        chr.den.col=c("darkgreen", "yellow", "red"),signal.col=c("red","green"),signal.cex=c(1.5,1.5),        signal.pch=c(19,19),file="jpg",memo="",dpi=300,file.output=TRUE,verbose=TRUE,        width=14,height=6)#####Multi_tracks Q-Q plotCMplot(data,plot.type="q",box=FALSE,file="jpg",memo="",dpi=300,    conf.int=TRUE,conf.int.col=NULL,threshold.col="red",threshold.lty=2,    file.output=TRUE,verbose=TRUE,width=5,height=5)
复制代码

1. SNP密度图

表明
SNP密度图是用于展示全基因组范围内SNP分布环境的图形。它直观地显示了每个染色体上的SNP密度,为研究职员提供基因组覆盖程度的信息。
如何解读



2. QQ图(Quantile-Quantile Plot)

表明
QQ图比较了观察到的SNP关联统计量(通常是p-value的–log10值)与理论期望的统计量。它资助评估数据中是否存在偏离随机分布的显著信号。
如何解读



3. 曼哈顿图(Manhattan Plot)

表明
曼哈顿图是GWAS中最常用的可视化工具之一,用于全基因组范围内展示每个SNP与表型关联的统计显著性(通常是–log10(p-value))。
如何解读



比较与接洽


实际应用场景



生信大白记第41记,就到这里,关注我!
下一记,持续更新学习生物信息学的内容!

生信大白记邮箱账号:shengxindabaiji@163.com
生信大白记简书账号:生信大白记
生信大白记CSDN账号:生信大白记
生信大白记微信公众号:生信大白记

加入生信大白记互换群938339543

免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。




欢迎光临 qidao123.com技术社区-IT企服评测·应用市场 (https://dis.qidao123.com/) Powered by Discuz! X3.4