Overlap the insertion data with a list of region sets

# S4 method for DsATAC
regionSetCounts(.object, rsl, bySample = FALSE)

Arguments

.object

DsATAC object

rsl

GRangesList or NAMED list of GRanges objects. Each element corresponds to a region set for which the summary statistics are reported

bySample

for internal use: iterate over samples (instead of retrieving one giant insertion list for all samples) in order to save memory (at the tradeoff of compute time)

Value

a matrix of overlap counts for each region set and sample

Author

Fabian Mueller