View source: R/bb_monocle_regression.R
bb_monocle_regression | R Documentation |
Note: this function is deprecated in favor of bb_monocle_regression_better which returns log2FoldChange instead of estimates. The log2FoldChange value is the normalized_effect value returned from the monocle regression functions.
bb_monocle_regression(
cds,
gene_or_genes,
stratification_variable = NULL,
stratification_value = NULL,
form,
linking_function = "negbinomial"
)
cds |
A cell data set object. |
gene_or_genes |
Genes to regress by. |
stratification_variable |
Optional colData column to subset the cds by internal to the function. |
stratification_value |
Optional value to stratify by. |
form |
The regression formula in the form of "~var1+var2+..." |
linking_function |
For the generalized linear model. |
A tibble containing the regression results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.