Description Usage Arguments Value
View source: R/calc_motif_dist.R
Calculate distances of Tn5 insertions from motif.
1 | calc_motif_dist(signal_gr, motif_pos_gr, range = 200)
|
signal_gr |
A GRanges object with tn5 insertions. See the read_atac_bam_tn function. |
motif_pos_gr |
A GRanges object with the positions of the PWM in ATAC-seq peaks. |
range |
The distance in bases flanking the the motif to calculate signal. |
A numeric vector of distances of Tn5 insertion sites to motif centre.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.