calc_dinuc_freq: Calculate the dinucleotide insertion frequency for Tn5...

Description Usage Arguments Value

View source: R/calc_dinuc_freq.R

Description

Calculate the dinucleotide insertion frequency for Tn5 insertions.

Usage

1
calc_dinuc_freq(ins_gr, genome)

Arguments

ins_gr

A GRanges object. Typically of ATAC-seq Tn5 insertions generated with the function read_atac_insertions.

genome

A BSgenome object.

Value

A data.frame containing dinucleotide counts and precentages.


SamBuckberry/RunATAC documentation built on Aug. 2, 2021, 9:54 a.m.