Get LD using snpStats package
compute_LD( ss, select_snps = NULL, stats = c("R"), symmetric = TRUE, depth = "max", as_sparse = TRUE, verbose = TRUE )
| stats | A character vector specifying the linkage disequilibrium measures to
be calculated. This should contain one or more of the strings: |
|---|---|
| symmetric | When no |
| depth | When |
| LD_folder | Locus-specific LD output folder. |
snpStats Bioconductor page LD tutorial
Other LD:
LD_1KG_download_vcf(),
LD_1KG(),
LD_custom(),
LD_ukbiobank(),
filter_LD(),
get_locus_vcf_folder(),
ldlinkr_ldproxy_batch(),
load_or_create(),
plot_LD(),
popDat_1KGphase1,
popDat_1KGphase3,
rds_to_npz(),
saveSparse(),
save_LD_matrix(),
snpstats_get_MAF(),
translate_population()