easyLoad_broadPeak {seqsetvis} | R Documentation

## easyLoad_broadPeak takes a character vector of file paths to narrowPeak files from MACS2 and returns a named list of GRanges.

### Description

easyLoad_broadPeak takes a character vector of file paths to narrowPeak files from MACS2 and returns a named list of GRanges.

### Usage

    easyLoad_broadPeak(file_paths, file_names = NULL)

### 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.

### Value

a named list of GRanges loaded from file_paths

### Examples

    bp_f = system.file("extdata/test_loading.broadPeak",
        package = "seqsetvis", mustWork = TRUE)
    easyLoad_broadPeak(bp_f, "my_broadPeak")

[Package seqsetvis version 1.0.2 Index]