gwasTools
1.0.0
R脚本的集合可能对绘制GWAS结果有用。
需要安装以下R Pakages来运行这些RScript:
optparse,data.table,rcolorbrewer,plotrix,pwr,map2ncbi,basisplotter,devtools devtools :: install_github('josephcrispell/basticplotter')
频率bined and稀释QQ图。
请使用以下命令查看所需的/可用的RScript参数
Rscript QQplot.r --help

快速曼哈顿情节脚本。请使用以下命令查看所需的/可用的RScript参数
Rscript ManhattanPlot.r --help

基于Cohen的效果尺寸计算的80%功率图,如“ PWR” R软件包中实现的比例计算
Rscript PowerPlot.r --help

| 铬 | pos | MAF | PVALUE |
|---|---|---|---|
| 1 | 1 | 0.05 | 0.99 |
| 2 | 2 | 0.15 | 0.1 |
| 3 | 3 | 0.5 | 0.25 |
Rscript QQplot.r
--input ExampleGWAS.txt
--prefix Example
--maf MAF
--pvalue PVALUE
--maintitle 'An Example QQ plot'
# GWAS results from http://csg.sph.umich.edu/abecasis/public/amd2015/Fritsche_2015_AdvancedAMD.txt.gz
Rscript ManhattanPlot.r
--input Fritsche_2015_AdvancedAMD.txt.gz
--prefix Example
--chr Chrom
--pos Pos
--pvalue GC.Pvalue
--coltop T
--maintitle 'Age-related macular degeneration (Fritsche et al. 2016)'
--threads 8
Rscript PowerPlot.r
--prefix Example
--cases 500,1000,5000
--controls 1000,2000,10000
--minMAF 0.001
--alpha 5E-8