calc_ins_pwm: Calculate the PWM for Tn5 insertions.

Description Usage Arguments Value

View source: R/calc_ins_pwm.R

Description

Calculate the PWM for Tn5 insertions.

Usage

1
calc_ins_pwm(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.

...

Parameters for the PWM function in the Biostrings package.

Value

A PWM matirix containing dinucleotide counts and precentages.


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