View source: R/ldlinkr_ldproxy_batch.R
ldlinkr_ldproxy_batch | R Documentation |
Wrapper for LDlinkR::LDproxy_batch
.
Easy to use but doesn't scale up well to many SNPs (takes way too long).
ldlinkr_ldproxy_batch(
snp,
pop = "CEU",
r2d = "r2",
min_corr = FALSE,
save_dir = NULL,
verbose = TRUE
)
snp |
a character string or data frame listing rsID's or chromosome coordinates (e.g. "chr7:24966446"), one per line |
pop |
a 1000 Genomes Project population, (e.g. YRI or CEU), multiple allowed, default = "CEU" |
r2d |
either "r2" for LD R2 or "d" for LD D', default = "r2" |
min_corr |
Minimum correlation with |
save_dir |
Save folder. |
verbose |
Print messages. |
merged_query_dat <- echodata::get_Nalls2019_merged()
lead.snps <- setNames(subset(merged_query_dat, leadSNP)$Locus,
subset(merged_query_dat, leadSNP)$SNP)
proxies <- ldlinkr_ldproxy_batch(snp = lead.snps)
Other LD:
check_population_1kg()
,
compute_LD()
,
filter_LD()
,
get_LD()
,
get_LD_1KG()
,
get_LD_1KG_download_vcf()
,
get_LD_UKB()
,
get_LD_matrix()
,
get_LD_vcf()
,
get_locus_vcf_folder()
,
plot_LD()
,
popDat_1KGphase1
,
popDat_1KGphase3
,
rds_to_npz()
,
saveSparse()
,
save_LD_matrix()
,
snpstats_get_MAF()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.