Query the 1000 Genomes Project for a subset of their individual-level VCF files.
LD_1KG_download_vcf( dat, LD_reference = "1KGphase1", superpopulation = NULL, samples = NULL, local_storage = NULL, locus_dir, force_new_vcf = FALSE, verbose = TRUE )
| dat | GWAS summary statistics subset to query the LD panel with. |
|---|---|
| LD_reference | LD reference to use:
|
| superpopulation | Superpopulation to subset LD panel by
(used only if |
| samples | Sample names to subset the VCF by before computing LD. |
| local_storage | Storage folder for previously downloaded LD files.
If |
| locus_dir | Storage directory to use. |
| force_new_vcf | Force the creation of a new LD file even if one exists. |
| verbose | Print messages. |
Other LD:
LD_1KG(),
LD_custom(),
LD_ukbiobank(),
compute_LD(),
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()