snprelate_ld | R Documentation |
Wrapper for snpgdsLDMat to compute r2
snprelate_ld(
gdata,
window_size = 0,
min_r2 = 0,
snps_idx = NULL,
scans_idx = NULL,
threads = 1,
quiet = FALSE
)
gdata |
A GenotypeData object |
window_size |
Max number of SNPs in LD window, 0 for no window |
min_r2 |
Minimum r2 value to report |
snps_idx |
Indices of snps to use |
scans_idx |
Indices of scans to use |
threads |
The number of threads to use |
quiet |
Whether to be quiet |
A data frame with columns SNP_A, SNP_B, R2 for r2 >= min_r2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.