Description Usage Arguments Value Examples
This function selects overlapping peaks and regions, calculates the distance between them and score each peak.
1 | associated_peaks(peaks, regions, regions_col, base = 1e+05)
|
peaks |
A GRanges object |
regions |
A GRanges object |
regions_col |
A character string |
base |
An integer to calculate distances relative to. |
A GRanges object. A similar object to peaks with three added metadata columns.
1 2 3 4 5 6 | # load peaks and transcripts data
data("real_peaks")
data("real_transcripts")
# associated peaks
ap <- associated_peaks(real_peaks, real_transcripts, 'name2')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.