l_bbinom {hahmmr} | R Documentation |
calculate joint likelihood of allele data
Description
calculate joint likelihood of allele data
Usage
l_bbinom(AD, DP, alpha, beta)
Arguments
AD |
numeric vector Variant allele depth |
DP |
numeric vector Total allele depth |
alpha |
numeric Alpha parameter of Beta-Binomial distribution |
beta |
numeric Beta parameter of Beta-Binomial distribution |
Value
numeric Joint log likelihood
Examples
l_bbinom(c(1, 2), c(1, 2), 1, 1)
[Package hahmmr version 1.0.0 Index]