R/model_celltype_freqs.R
model_celltype_freqs.Rd
Model Changes in Celltype Frequencies with Dirichlet Multinomial Regression
model_celltype_freqs(
sce,
unique_id_var = "manifest",
celltype_var = "cluster_celltype",
dependent_var = "group",
ref_class = "Control",
var_order = NULL,
confounding_vars = NULL,
...
)
a SingleCellExperiment object
the unique identifier variable for each sample
the colData variable specifying celltype or subtype
the name of the colData variable for contrasts
the class of dependent_var used as reference
Optional re-ordering of subset_group factor levels. Default NULL.
Additional confounding variables from colData.
Additional arguments
results_l a list of results
Other Celltype annotation:
find_marker_genes()
,
map_celltypes_sce()