View source: R/COLOC_corplot.R
| COLOC_corplot | R Documentation |
Plots the output from COLOC_run.
COLOC_corplot( coloc_QTLs, coloc_thresh = 0.8, label_top_snps = 1, facets = Study + System + Tissue ~ Locus.eGene, show_plot = TRUE, save_dir = tempdir(), seed = 2022, verbose = TRUE )
coloc_QTLs |
Colocalization results from COLOC_run. |
coloc_thresh |
Colocalization Posterior Probability threshold,
using the formula:
|
label_top_snps |
Label the top n SNPs per |
show_plot |
Whether to print the plot. |
save_dir |
Directory to save plot in. |
verbose |
Print messages. |
Other coloc:
COLOC_get_example_res(),
COLOC_get_res(),
COLOC_heatmap(),
COLOC_merge_res(),
COLOC_report_summary(),
COLOC_run()
coloc_QTLs <- catalogueR::COLOC_get_example_res()
gg_coloc <- COLOC_corplot(coloc_QTLs = coloc_QTLs,
coloc_thresh = .5)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.