snprelate_ld_select | R Documentation |
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,
...
)
gdata |
A GenotypeData object |
window_length |
Max length in kb of the window |
min_r2 |
Minimum r2 value to report |
window_size |
Max number of SNPs in LD window |
snps_idx |
Indices of snps to use |
scans_idx |
Indices of scans to use |
remove.monosnp |
if TRUE, remove monomorphic SNPs |
autosome.only |
if |
method |
"composite", "r", "dprime", "corr", see details |
threads |
The number of threads to use, currently ignored |
quiet |
Whether to be quiet |
... |
Forwarded to SNPRelate::snpgdsLDpruning |
A list of SNP IDs stratified by chromosomes.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.