A plotting wrapper for the coloc package. Produces a ggplot for either the prior or posterior probability sensitivity analyses. See the coloc package vignettes for details.

plot_coloc_probabilities(coloc, rule = "H4 > 0.5", type = "prior", row = 1)

Arguments

coloc

coloc object, output from coloc::coloc.abf()

rule

a string, a valid rule indicating success e.g. "H4 > 0.5"

type

a string, either prior or posterior

row

an integer, row in a coloc.susie or coloc.signals object

Value

a ggplot

References

coloc