Save an LD matrix after initial pre-processing.
save_LD_matrix( LD_matrix, dat, locus_dir, fillNA = 0, LD_reference, subset_common = TRUE, as_sparse = TRUE, verbose = TRUE )
#data("BST1")
#data("BST1_LD_matrix")
#data("locus_dir")
#locus_dir <- file.path(tempdir(),locus_dir)
#LD_list <- save_LD_matrix(
# LD_matrix = BST1_LD_matrix,
# dat = BST1,
# locus_dir = locus_dir,
# LD_reference = "UKB")#LD_list <- save_LD_matrix(
# LD_matrix = BST1_LD_matrix,
# dat = BST1,
# locus_dir = locus_dir,
# LD_reference = "custom_vcf")
Other LD:
LD_1KG_download_vcf()
,
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()
,
snpstats_get_MAF()
,
translate_population()