Filter peaks to those overlapping specific (regulatory) elements
peaks_in_regulatory_elements.Rd
Function to reduce list of "Peaks" to the ones overlapping with list of "RegEl", e.g. regulatory elements, evolutionary conserved regions
Usage
peaks_in_regulatory_elements(
Peaks,
RegEl,
sep_Peak1 = "-",
sep_Peak2 = "-",
sep_RegEl1 = "-",
sep_RegEl2 = "-"
)
Arguments
- Peaks
(character) vector of genomic coordinates of peaks
- RegEl
(character) vector of genomic coordinates of regulatory elements
- sep_Peak1
(character) separator between chromosome and start position of peak
- sep_Peak2
(character) separator between start position and end position of peak
- sep_RegEl1
(character) separator between chromosome and start position of regulatory element
- sep_RegEl2
(character) separator between start position and end position of regulatory element