Calculate LLR for an expression HMM
calc_exp_LLR( Y_obs, lambda_ref, d, phi_mle, mu = NULL, sig = NULL, alpha = NULL, beta = NULL )
Y_obs
: numeric vector Gene expression countslambda_ref
: numeric vector Reference expression levelsd
: numeric vector Total library sizephi_mle
: numeric MLE of expression fold change phi (alternative hypothesis)mu
: numeric Mean parameter for the PLN expression modelsig
: numeric Dispersion parameter for the PLN expression modelalpha
: numeric Hyperparameter for the gamma poisson model (not used)beta
: numeric Hyperparameter for the gamma poisson model (not used)numeric Log-likelihood ratio
Useful links