calc_ins_bias: Calculate the PWM for Tn5 insertions.

Description Usage Arguments Value

View source: R/calc_ins_bias.R

Description

Calculate the PWM for Tn5 insertions.

Usage

1
calc_ins_bias(ins_pwm, regions_gr, genome)

Arguments

ins_pwm

A positional weight matrix generated with the function calc_ins_pwm. Must be a matrix of 21 columns and 4 rows.

regions_gr

A GRanges object of regions to calculate insertion bias scores.

genome

A BSgenome object. site for calculating the PWM.

Value

A vector of per-base bias scores for each range in regions_gr.


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