View source: R/at_scale_em_algo_functs.R
run_glmeiv_given_precomputations | R Documentation |
Runs a full GLM-EIV given mRNA and gRNA precomputations, as outputted by run_glmeiv_precomputation
function.
run_glmeiv_given_precomputations(
m,
g,
m_precomp,
g_precomp,
covariate_matrix,
m_offset,
g_offset,
n_em_rep,
pi_guess_range,
m_perturbation_guess_range,
g_perturbation_guess_range,
ep_tol = 1e-04
)
m |
mRNA counts |
g |
gRNA counts |
m_precomp |
mRNA precomputation list, as outputted by |
g_precomp |
gRNA precomputation list, as outputted by |
covariate_matrix |
the matrix of covariates; NULL if there are no covariates. |
m_offset |
offsets for m |
g_offset |
offsets for g |
n_em_rep |
number of EM reps to run on reduced GLM-EIV model |
pi_guess_range |
range of values over which to sample pi |
m_perturbation_guess_range |
range of values over which to sample m_perturbation |
g_perturbation_guess_range |
range of values over which to sample g_perturbation |
ep_tol |
(optional) EM convergence threshold |
fam_str |
string describing family; currently "poisson" or "Negative Binomial" supported |
a fitted GLM-EIV model
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.