Laplace approximation of the posterior of expression fold change phi
approx_phi_post( Y_obs, lambda_ref, d, alpha = NULL, beta = NULL, mu = NULL, sig = NULL, lower = 0.2, upper = 10, start = 1 )
Y_obs
: numeric vector Gene expression countslambda_ref
: numeric vector Reference expression levelsd
: numeric Total library sizealpha
: numeric Shape parameter of the gamma distributionbeta
: numeric Rate parameter of the gamma distributionmu
: numeric Mean of the normal distributionsig
: numeric Standard deviation of the normal distributionlower
: numeric Lower bound of phiupper
: numeric Upper bound of phistart
: numeric Starting value of phinumeric MLE of phi and its standard deviation
Useful links