Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kehaowu/gwascfdr
https://github.com/kehaowu/gwascfdr
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kehaowu/gwascfdr
- Owner: KehaoWu
- License: mit
- Created: 2015-09-18T15:30:59.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-11-22T01:13:43.000Z (about 9 years ago)
- Last Synced: 2023-10-20T20:55:51.654Z (about 1 year ago)
- Language: R
- Size: 13.7 KB
- Stars: 6
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GWAS_cFDR
## Installation
```R
install.packages("devtools")
devtools::install_github("KehaoWu/GWAScFDR")
```
## Demo```R
p1 = runif(10000,0,1)
p2 = runif(10000,0,1)
cFDR(p1,p2)
p = stratifiedQQplot(p1,p2)
plot(p)
``````R
pvalue = runif(100)
bp = sample(10000:20000,100)
chr = sample(1:22,100,replace=T)
gene = as.character(1:100)
p = manhattanPlot(pvalue = pvalue,bp = bp,chr = chr,gene = gene)
plot(p)
```