Prepare data to plot overlap between datatable of SNPs and cell-type-specific epigenomic peaks and coaccessibility data.

CORCES2020_prepare_bulkATAC_peak_overlap(
  merged_DT,
  FDR_filter = NULL,
  snp_filter = "Consensus_SNP==TRUE",
  add_HiChIP_FitHiChIP = TRUE,
  annotate_genes = FALSE,
  return_counts = TRUE,
  verbose = TRUE
)

Examples

if (FALSE) {
dat_melt <- echoannot:::CORCES2020_prepare_bulkATAC_peak_overlap(
    merged_DT = echodata::get_Nalls2019_merged()
)
}