Description Usage Arguments Value
Compute differential expression statistics for given dataset and cell types, stratified by groups.
1 2 3 4 5 6 7 8 | compute_markers(
expression,
cell_type_labels,
group_labels = rep("all", length(cell_type_labels)),
two_tailed = FALSE,
tie_correction = FALSE,
genes_are_rows = TRUE
)
|
expression |
Expression matrix (may be sparse). |
cell_type_labels |
Character vector providing cell type names for each sample in the expression matrix. |
group_labels |
Character vector providing hierarchical grouping for cell types (one group name for each sample in the expression matrix). |
two_tailed |
Boolean. If FALSE, only upregulated genes are considered significant (ROC test). |
tie_correction |
Boolean. For the ROC test, should tie correction be applied? Note that skipping tie correction is slightly conservative. |
genes_are_rows |
Boolean. In the expression matrix, were genes provided as rows (as in SingleCellExperiment or Seurat objects)? |
A tibble containing basic differential expression statistics for all cell types and genes. All statistics are 1-vs-rest within groups. NOTE: genes with duplicate names will be removed.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.