make_peak_dt: make_peak_dt

Description Usage Arguments Value Examples

View source: R/functions_make.R

Description

make_peak_dt

Usage

1
make_peak_dt(peak_grs, treatments = NULL)

Arguments

peak_grs

list of GRanges for peak sets

treatments

opional character vector of treatments for each peak set.

Value

a data.table with peak_count data for each GRanges in peak_grs.

Examples

1
2
3
4
5
peak_files = dir(system.file("extdata", package = "seqqc"),
  pattern = "Peak$", full.names = TRUE)
peak_grs = seqsetvis::easyLoad_narrowPeak(peak_files)

make_peak_dt(peak_grs)

jrboyd/seqqc documentation built on March 20, 2021, 2:04 p.m.