Description Usage Arguments Value
Calculate distances of Tn5 insertions from motif.
1 | calc_v(frags_gr, motif_pos_gr, flank = 250, max_frag = 300)
|
frags_gr |
A GRanges object with ATAC-seq fragments. See the read_atac_frags function. |
motif_pos_gr |
A GRanges object with the positions of the PWM in ATAC-seq peaks. See the motif_gr function. |
flank |
Numeric of length 1. Number of bases flanking motif to plot. |
max_frag |
Integer of length 1. The maximum fragment size to include in plot. |
A data.frame with 2 columns. frag_size column contains the ATAC-seq fragment size. The distance column contains the distance from the fragment centure to the centre of the closest motif in motif_pos_gr.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.