Uses gaston to plot a SNP-annotated LD matrix.

plot_LD(LD_matrix, dat, span = 10, method = c("gaston", "heatmap", "image"))

Arguments

span

This is very computationally intensive, so you need to limit the number of SNPs with span. If span=10, only 10 SNPs upstream and 10 SNPs downstream of the lead SNP will be plotted.

See also

Examples

if (FALSE) { data("BST1") data("BST1_LD") plot_LD(LD_matrix = LD_matrix, dat = BST1) }