Can optionally add Cicero coaccessibility scores, which are also derived from scATAC-seq data.

CORCES2020_get_ATAC_peak_overlap(
  query_dat,
  FDR_filter = NULL,
  add_cicero = TRUE,
  cell_type_specific = TRUE,
  verbose = TRUE
)

Arguments

query_dat

Genomic summary statistics data to query with.

FDR_filter

Correct p-value threshold.

add_cicero

Whether to include cicero results as well.

cell_type_specific

Whether to use bulk or cell-type-specific data.

verbose

Print messages.

Examples

query_dat <- echodata::BST1[1:100,]
gr.hits <- echoannot::CORCES2020_get_ATAC_peak_overlap(query_dat = query_dat)
#> CORCES2020:: Extracting overlapping cell-type-specific scATAC-seq peaks
#> Converting dat to GRanges object.
#> 1 query SNP(s) detected with reference overlap.
#> + CORCES2020:: No Cicero hits found.