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
)

Details

#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")

See also