comp_indel_mat_d: Compute the D matrix for indel calculation.

View source: R/utility.R

comp_indel_mat_dR Documentation

Compute the D matrix for indel calculation.

Description

Compute the D matrix for indel calculation.

Usage

comp_indel_mat_d(pwm, stat_dist, insertion_len)

Arguments

pwm

The Position Weight Matrix with dimension motif length x 4.

stat_dist

A vector for the stationary distribution for the Markov Chain.

insertion_len

An integer for the insertion length.

Value

A matrix of the same dimension as PWM.


chandlerzuo/atIndel documentation built on Jan. 20, 2024, 4:10 a.m.