Skip to content

Commit

Permalink
rename LD_matrix and SNP_info to LD_file and SNP_file
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinlkx committed Jul 23, 2024
1 parent 43df926 commit e9c53df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions development/ctwas_LDL_liver_tutorial_sample_data_LD.R
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@ if (file.exists(region_info_file) && file.exists(snp_map_file) && file.exists(LD
filestem <- paste0("ukb_b38_0.1")
ld_filestem <- sprintf("%s_chr%s.R_snp.%s_%s", filestem,
region_metatable$chrom, region_metatable$start, region_metatable$stop)
region_metatable$LD_matrix <- file.path(ld_R_dir, paste0(ld_filestem, ".RDS"))
region_metatable$SNP_info <- file.path(ld_R_dir, paste0(ld_filestem, ".Rvar"))
region_metatable$LD_file <- file.path(ld_R_dir, paste0(ld_filestem, ".RDS"))
region_metatable$SNP_file <- file.path(ld_R_dir, paste0(ld_filestem, ".Rvar"))
res <- create_snp_LD_map(region_metatable)
region_info <- res$region_info
snp_map <- res$snp_map
Expand Down

0 comments on commit e9c53df

Please # to comment.