set_Seurat | R Documentation |
Set the parameters for Seurat differential abundance detection method.
set_Seurat(
assay_name = "counts",
pseudo_count = FALSE,
test = "wilcox",
contrast = NULL,
norm = "LogNormalize",
scale.factor = 10000,
expand = TRUE
)
assay_name |
the name of the assay to extract from the
TreeSummarizedExperiment object (default |
pseudo_count |
add 1 to all counts if TRUE (default
|
test |
Denotes which test to use. Available options are:
|
contrast |
character vector with exactly three elements: the name of a factor in the design formula, the name of the numerator level for the fold change, and the name of the denominator level for the fold change. |
norm |
Method for normalization.
|
scale.factor |
Sets the scale factor for cell-level normalization |
expand |
logical, if TRUE create all combinations of input parameters
(default |
A named list containing the set of parameters for DA_Seurat
method.
DA_Seurat
# Set some basic combinations of parameters for Seurat
base_Seurat <- set_Seurat(contrast = c("group", "B", "A"))
# Set many possible combinations of parameters for Seurat
all_Seurat <- set_Seurat(test = c("wilcox", "t", "negbinom", "poisson"),
norm = c("LogNormalize", "CLR", "RC", "none"),
scale.factor = c(1000, 10000), contrast = c("group", "B", "A"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.