View source: R/singlecell_de.R
singlecell_de | R Documentation |
Run differential expression using traditional single-cell methods Note that this is effectively a wrapper of the FindMarkers function in Seurat.
singlecell_de(
input,
meta = NULL,
cell_type_col = "cell_type",
label_col = "label",
de_method = "wilcox",
min_cells = 3,
min_features = 0,
normalization = "log_tp10k",
binarization = FALSE,
latent_vars = NULL,
input_type = "scRNA"
)
input |
a single-cell matrix to be converted, with features (genes) in rows
and cells in columns. Alternatively, a |
meta |
the accompanying meta data whereby the rownames match the column
names of |
cell_type_col |
the vector in |
label_col |
the vector in |
de_method |
the mixed model type to use. Defaults to wilcox. |
min_cells |
the minimum number of cells in a cell type to retain it.
Defaults to |
min_features |
the minimum number of expressing cells (or replicates)
for a gene to retain it. Defaults to |
normalization |
normalization for Seurat/Signac methods |
binarization |
binarization for single-cell ATAC-seq only |
latent_vars |
latent variables for Seurat/Signac methods |
input_type |
refers to either scRNA or scATAC |
a data frame containing differential expression results.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.