View source: R/thresholding_algos.R
run_thresholding_method | R Documentation |
Runs the thresholding method on real data.
run_thresholding_method(
phat,
m,
m_fam,
m_offset,
covariate_matrix,
n_examples_per_param = 5,
alpha = 0.95,
exponentiate_coefs = TRUE
)
phat |
the binary vector of thresholded gRNA counts |
m |
mRNA counts |
m_fam |
family object describing mRNA counts |
m_offset |
offset for mRNA model |
covariate_matrix |
matrix of cell-specific covariates |
n_examples_per_param |
number of perturbed cells (per parameter) that must be present to attempt model fit |
alpha |
returns alpha-level CIs. |
Note: consider combining this function with run_thresholding_method_simulatr
.
data frame of fitted parameters and CIs.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.