set_basic | R Documentation |
Set the parameters for basic differential abundance detection methods such as t and wilcox.
set_basic(
assay_name = "counts",
pseudo_count = FALSE,
contrast = NULL,
test = c("t", "wilcox"),
paired = FALSE,
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
|
contrast |
character vector with exactly, three elements: a string indicating the name of factor whose levels are the conditions to be compared, the name of the level of interest, and the name of the other level. |
test |
name of the test to perform. Choose between "t" or "wilcox". |
paired |
boolean. Choose whether the test is paired or not (default
|
expand |
logical, if TRUE create all combinations of input parameters
(default |
A named list containing the set of parameters for DA_basic
method.
DA_basic
# Set some basic methods
basic_methods <- set_basic(pseudo_count = FALSE, test = c("t", "wilcox"),
contrast = c("group", "B", "A"), expand = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.