wrap_de | R Documentation |
This function will pass multiple conditions to test to "sagseqr::differential_expression()"
.
wrap_de(
conditions,
filtered_counts,
cqn_counts,
md,
dropped,
biomart_results,
p_value_threshold,
fold_change_threshold,
model_variables = names(md),
random_effect = NULL,
exclude_variables = NULL,
cores = NULL,
cont = NULL,
is_num = NULL,
num_var = NULL
)
conditions |
A named list of conditions to test as 'primary'
in |
filtered_counts |
A counts data frame with genes removed that have low expression. |
cqn_counts |
A counts data frame normalized by CQN. |
md |
A data frame with sample identifiers in a column and relevant experimental covariates. |
dropped |
a vector of gene names to drop from filtered counts, as they were not cqn normalized |
biomart_results |
Output of |
p_value_threshold |
Numeric. P-values are adjusted by Benjamini and Hochberg (BH) false discovery rate (FDR). Significant genes are those with an adjusted p-value greater than this threshold. |
fold_change_threshold |
Numeric. Significant genes are those with a fold-change greater than this threshold. |
model_variables |
Optional. Vector of variables to include in the linear (mixed) model.
If not supplied, the model will include all variables in |
random_effect |
A vector of variables to consider as random effects instead of fixed effects. |
exclude_variables |
Vector of variables to exclude from testing. |
cores |
An integer of cores to specify in the parallel backend (eg. 4). |
cont |
Optional. A list specifying contrasts of the primary variable(s)
to consider for differential sequencing results if using factor(s) as your
primary variable. If not specified all combinations will be tested. If specified
this will speed up the pipeline. Specify the contrast with the factor values
involved in the contrast separated by a hyphen. (eg for diagnosis, |
is_num |
Is there a numerical covariate to use as an interaction with the primary variable(s). default= NULL |
num_var |
A numerical metadata column to use in an inaction with the primary variable(s). default= NULL |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.