The tagged snp set is (by sliding window) representative and strongly not redundant.
snprelate_ld_select(
gdata,
window_length = 500L,
min_r2,
window_size = NA,
snps_idx = NULL,
scans_idx = NULL,
remove.monosnp = FALSE,
autosome.only = FALSE,
method = "r",
threads = 1,
quiet = FALSE,
...
)A list of SNP IDs stratified by chromosomes.
A GenotypeData object
Max length in kb of the window
Minimum r2 value to report
Max number of SNPs in LD window
Indices of snps to use
Indices of scans to use
if TRUE, remove monomorphic SNPs
if TRUE, use autosomal SNPs only; if it is a
numeric or character value, keep SNPs according to the specified
chromosome
"composite", "r", "dprime", "corr", see details
The number of threads to use, currently ignored
Whether to be quiet
Forwarded to SNPRelate::snpgdsLDpruning