Skip to contents

This function checks the alignment for colocalisation based on the product of Z scores and LD.

Usage

coloc_check_alignment(D, thr = 0.2, do_plot = TRUE)

Arguments

D

Dataset containing beta, varbeta, and LD.

thr

Threshold for alignment check.

do_plot

Logical indicating whether to generate a plot.

Value

Mean of values greater than zero, indicating alignment quality.