run_torus | R Documentation |
Perform enrichment analysis using TORUS and then compute SNP-level priors using the enrichment estimates.
run_torus(
torus_annot_file,
torus_zscore_file,
option = c("est", "est-prior", "fdr"),
torus_path = "torus"
)
torus_annot_file |
SNP annotation file prepared by
the |
torus_zscore_file |
Summary statistics from single SNP association
analysis, prepared by
the |
option |
TORUS options: “est”, obtain estimates of enrichment parameters and their confidence intervals; “est-prior”, perform enrichment analysis and compute SNP-level priors using the estimated enrichment estimates for each locus; or “fdr”, perform Bayesian FDR control, and output the result. |
torus_path |
Path to |
A list of enrichment results, SNP-level prior probabilities, and/or FDR result. Enrichment result contains the point estimate (MLE) of the log odds ratio, as well as 95% confidence interval for the corresponding point estimate.
## Not run:
# Get enrichment estimates and confidence intervals
torus.result <- run_torus("torus_annotations.txt.gz",
"torus_zscore.txt.gz",
option = "est")
# Get enrichment estimates and compute SNP-level priors
torus.result <- run_torus("torus_annotations.txt.gz",
"torus_zscore.txt.gz",
option = "est-prior")
# Bayesian FDR control
torus.result <- run_torus("torus_annotations.txt.gz",
"torus_zscore.txt.gz",
option = "fdr")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.