Associate peaks to genes based on distance to TSS (or gene body)
find_peaks_near_genes.Rd
Associate peaks to genes based on distance to TSS (or gene body)
Arguments
- peaks
vector(character) - List of peaks.
- genes
vector(character) - List of genes.
- sep
vector(character) - Separator between chromosome, start and end position. Default: c('-', '-').
- method
(character) - Method to use. Default: "Signac".
'Signac'
- Use Signac::Extend to extend genes.'GREAT'
- Not implemented yet.
- upstream
(int) - Upstream distance from TSS to consider as potential promoter.
- downstream
(int) - Downstream distance from TSS to consider as potential promoter.
- extend
(int) - Integer defining the distance from the upstream and downstream of the basal regulatory region. Used only by method 'GREAT'.
- only_tss
(logical) - If TRUE, only TSS will be considered.
- verbose
(logical) - If TRUE, print progress messages.