model_celltype_freqs: Model Changes in Celltype Frequencies with Dirichlet...

View source: R/model_celltype_freqs.R

model_celltype_freqsR Documentation

Model Changes in Celltype Frequencies with Dirichlet Multinomial Regression

Description

Model Changes in Celltype Frequencies with Dirichlet Multinomial Regression

Usage

model_celltype_freqs(
  sce,
  unique_id_var = "manifest",
  celltype_var = "cluster_celltype",
  dependent_var = "group",
  ref_class = "Control",
  var_order = NULL,
  confounding_vars = NULL,
  ...
)

Arguments

sce

a SingleCellExperiment object

unique_id_var

the unique identifier variable for each sample

celltype_var

the colData variable specifying celltype or subtype

dependent_var

the name of the colData variable for contrasts

ref_class

the class of dependent_var used as reference

var_order

Optional re-ordering of subset_group factor levels. Default NULL.

confounding_vars

Additional confounding variables from colData.

...

Additional arguments

Value

results_l a list of results

See Also

Other Celltype annotation: find_marker_genes(), map_celltypes_sce()


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