Learn R Programming

hahmmr (version 1.0.0)

get_allele_hmm_s2: Make a 2-state allele HMM - no transitions to netural state

Description

Make a 2-state allele HMM - no transitions to netural state

Usage

get_allele_hmm_s2(pAD, DP, R, p_s, theta, gamma = 20, r = 0.015)

Value

HMM object

Arguments

pAD

integer vector Paternal allele counts

DP

integer vector Total alelle counts

p_s

numeric vector Phase switch probabilities

theta

numeric Haplotype imbalance

gamma

numeric Overdispersion in the allele-specific expression