COLOC_heatmap: Plot summary of coloc tests: heatmap

View source: R/COLOC_heatmap.R

COLOC_heatmapR Documentation

Plot summary of coloc tests: heatmap

Description

Plots the output from COLOC_run.

Usage

COLOC_heatmap(
  coloc_QTLs,
  coloc_thresh = 0.8,
  label_snp_groups = FALSE,
  save_dir = tempdir(),
  show_plot = TRUE,
  verbose = TRUE
)

Arguments

coloc_QTLs

Colocalization results from COLOC_run.

coloc_thresh

Colocalization Posterior Probability threshold, using the formula: (PP.H3 + PP.H4 >= coloc_thresh) & (PP.H4 / PP.H3 >= 2.

label_snp_groups

Whether to label SNP groups.

save_dir

Directory to save plot in.

show_plot

Whether to print the plot.

verbose

Print messages.

See Also

Other coloc: COLOC_corplot(), COLOC_get_example_res(), COLOC_get_res(), COLOC_merge_res(), COLOC_report_summary(), COLOC_run()

Examples

coloc_QTLs <- catalogueR::COLOC_get_example_res()
gg_coloc <- catalogueR::COLOC_heatmap(
    coloc_QTLs = coloc_QTLs,
    coloc_thresh = .5)

RajLabMSSM/catalogueR documentation built on Jan. 1, 2023, 10:45 a.m.