dot-generate_model_from_vars: Generate a model formula from dependent, confounding, and...

.generate_model_from_varsR Documentation

Generate a model formula from dependent, confounding, and random vars

Description

Generate a model formula from dependent, confounding, and random vars

Usage

.generate_model_from_vars(
  sce,
  dependent_var,
  confounding_vars,
  random_effects_var = NULL,
  interaction_vars = NULL,
  prefix = NULL
)

Arguments

sce

the data

dependent_var

the dependent variable

confounding_vars

the confounding variables

random_effects_var

the random effect variables (optional)

interaction_vars

variables which interact (optional)

prefix

a variable prefix (e.g. "sce$") (optional)

Value

model_formula a model formula

See Also

Other differential gene expression: .filter_sce_genes_for_de(), .perform_de_with_mast(), .preprocess_sce_for_de(), perform_de(), pseudobulk_sce(), report_de(), volcano_plot()


combiz/scFlow documentation built on Feb. 25, 2024, 10:25 a.m.