easyLoad_IDRmerged: easyLoad_IDRmerged loads "overlapped-peaks.txt" from IDR.

View source: R/functions_easyLoad.R

easyLoad_IDRmergedR Documentation

easyLoad_IDRmerged loads "overlapped-peaks.txt" from IDR.

Description

easyLoad_IDRmerged loads "overlapped-peaks.txt" from IDR.

Usage

easyLoad_IDRmerged(
  file_paths,
  file_names = NULL,
  n_cores = getOption("mc.cores", 1),
  max_idr = 0.05
)

Arguments

file_paths

character vector of paths to narrowPeak files. If named, those names will be used in output unless overriden by providing file_names.

file_names

character vector of names for output list. If not NULL will override any existing names for file_paths. Default is NULL.

n_cores

number of cores to use, uses mc.cores option if set or 1.

max_idr

maximum IDR value allowed

Value

named list of GRanges

Examples

idr_file = system.file("extdata/test_idr.overlapped-peaks.txt",
    package = "seqsetvis", mustWork = TRUE)
easyLoad_IDRmerged(idr_file)
easyLoad_IDRmerged(idr_file, max_idr = .01)

jrboyd/seqsetvis documentation built on March 17, 2024, 3:14 p.m.