runLDER | R Documentation |
Run LDER
runLDER(assoc, n.gwas, path, LD.insample = F, n.ld, ethnic = "eur",
method = "lder", cores = 10, a = NULL, rough = T, twostage = T,
type = "jack", n.bs = 1000)
assoc |
GWAS summary statistics, need to include snp, chr, a0, a1, z (header is necessary) |
n.gwas |
The sample size of the GWAS summary statistics |
path |
The output path |
LD.insample |
T/F, whether the LD reference is estimated with the GWAS cohort (T) or external reference panel (e.g. 1000 Genome Project) (F) |
n.ld |
The sample size of the LD reference |
ethnic |
Ethnic of the GWAS cohort; 'eur' for European ancestry |
method |
'lder', 'ldsc', or 'both' |
cores |
The number of cores for computation in parallel |
a |
Pre-specified inflation factor, default=NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.