filter_LD(LD_list, remove_correlates = FALSE, min_r2 = 0, verbose = FALSE)

Arguments

LD_list

List containing SNP-level data (DT), and LD matrix (LD).

remove_correlates

A list of SNPs. If provided, all SNPs that correlates with these SNPs (at r2>=min_r2) will be removed from both DT and LD list items..

min_r2

Correlation threshold for remove_correlates.

verbose

Print messages.

See also