API access to brain cell type-specific epigenomic peaks (bed format) from Nott et al. (2019).

NOTT2019_get_epigenomic_peaks(
  assays = c("ATAC", "H3K27ac", "H3K4me3"),
  cell_types = c("neurons", "microglia", "oligo", "astrocytes"),
  convert_to_granges = TRUE,
  save_dir = tools::R_user_dir(package = "echoannot", which = "cache"),
  force_new = FALSE,
  nThread = 1,
  verbose = TRUE
)

Arguments

assays

Which epigenomic assays to import data from.

cell_types

Which cell-types to import data from.

convert_to_granges

Whether to convert the peaks to a GRanges object.

save_dir

Where to save the processed data.

force_new

If the saved data already exists, re-downloaded anyway.

nThread

Number of threads to parallelise downloads across.

verbose

Print messages.

Examples

PEAKS <- echoannot::NOTT2019_get_epigenomic_peaks() 
#> Importing previously downloaded files: /github/home/.cache/R/echoannot/NOTT2019_epigenomic_peaks.rds
#> ++ NOTT2019:: 634,540 ranges retrieved.