set_dearseq | R Documentation |
Set the parameters for dearseq differential abundance detection method.
set_dearseq(
assay_name = "counts",
pseudo_count = FALSE,
covariates = NULL,
variables2test = NULL,
sample_group = NULL,
test = c("permutation", "asymptotic"),
preprocessed = FALSE,
n_perm = 1000,
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
|
covariates |
a character vector containing the colnames of the covariates to include in the model. |
variables2test |
a character vector containing the colnames of the variable of interest. |
sample_group |
a vector of length |
test |
a character string indicating which method to use to approximate
the variance component score test, either 'permutation' or 'asymptotic'
(default |
preprocessed |
a logical flag indicating whether the expression data have
already been preprocessed (e.g. log2 transformed). Default is |
n_perm |
the number of perturbations. Default is |
expand |
logical, if TRUE create all combinations of input parameters
(default |
A named list containing the set of parameters for DA_dearseq
method.
DA_dearseq
# Set some basic combinations of parameters for dearseq
base_dearseq <- set_dearseq(pseudo_count = FALSE, variables2test = "group",
test = c("permutation", "asymptotic"), expand = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.