
Step: Differential Expression Analysis (DEA) using Wilcoxon test
step_dea_wilcox.RdRun differential analysis using Wilcoxon analysis via glystats::gly_wilcox(),
then filter the experiment to keep only the differentially expressed variables using glystats::filter_sig_vars().
By default, this runs DEA on the main experiment (exp), but can be configured
to run on derived traits (trait_exp) or other experiment objects.
Only use this method for experiments with 2 groups.
Usage
step_dea_wilcox(
on = "exp",
p_adj_method = "BH",
ref_group = NULL,
filter_p_adj_cutoff = 0.05,
filter_p_val_cutoff = NULL,
filter_fc_cutoff = NULL,
...
)Arguments
- on
Name of the experiment data in
ctx$datato run analysis on. Default is"exp"for differential expression analysis. Use"trait_exp"for differential trait analysis. Use"motif_exp"for differential motif analysis.- p_adj_method
A character string specifying the method to adjust p-values. See
p.adjust.methodsfor available methods. Default is "BH". If NULL, no adjustment is performed.- ref_group
A character string specifying the reference group. If NULL (default), the first level of the group factor is used as the reference.
- filter_p_adj_cutoff
Adjusted p-value cutoff for filtering.
- filter_p_val_cutoff
Raw p-value cutoff for filtering.
- filter_fc_cutoff
Fold change cutoff for filtering.
- ...
Additional arguments passed to
glystats::gly_wilcox().
Details
Data required:
Depends on
onparameter (default:exp)
Data generated:
dea_res: The DEA results (ifon = "exp", default)dta_res: The DTA results (ifon = "trait_exp")dma_res: The DMA results (ifon = "motif_exp")sig_exp: The filtered experiment (ifon = "exp", default)sig_trait_exp: The filtered trait experiment (ifon = "trait_exp")sig_motif_exp: The filtered motif experiment (ifon = "motif_exp")
Tables generated:
dea: A table containing the DEA result (ifon = "exp", default)dta: A table containing the DTA result (ifon = "trait_exp")dma: A table containing the DMA result (ifon = "motif_exp")
AI Prompt
This section is for AI in inquire_blueprint() only.
Include this step only if the user explicitly asks for Wilcoxon test.
If the experiment has more than 2 groups but the user wants a specific two-group comparison, ask which two groups to compare and include
step_subset_groups(groups = c("A", "B"))before this step.