comp_indel_mat_d: Compute the D matrix for indel calculation.

Description Usage Arguments Value

View source: R/utility.R

Description

Compute the D matrix for indel calculation.

Usage

1
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/atSNP documentation built on Oct. 31, 2020, 4:33 a.m.