Skip to contents

Drop the peaks that overlap a blacklist region

Usage

remove_blacklisted(peaks, blacklist)

Arguments

peaks

data.frame. Regions with chrom, start, end, e.g. from call_peaks_sc().

blacklist

A BED file (plain or gzip) or a data.frame of regions, e.g. the ENCODE blacklist.

Value

The peaks that touch no blacklist region, in order.