Associates peaks with nearby genes based on TSS proximity.
Usage
annotate_peaks(peaks_df, ref_genome, upstream = 2000, downstream = 2000)
Arguments
- peaks_df
Data frame with chr, start, end columns
- ref_genome
Reference genome
- upstream
Distance upstream of TSS to consider
- downstream
Distance downstream of TSS to consider
Value
Data frame with peak-gene associations