
Step: KEGG Enrichment Analysis on Differentially Expressed Variables
step_sig_enrich_kegg.RdPerform KEGG enrichment analysis on differentially expressed variables using glystats::gly_enrich_kegg().
This step requires one of the DEA steps to be run.
Only execute for glycoproteomics experiments with exactly 2 groups.
If used for glycomics experiments, the step will be skipped.
Use all genes in OrgDb as the background.
Usage
step_sig_enrich_kegg(
universe = "all",
plot_type = "dotplot",
plot_width = 7,
plot_height = 7,
...
)Arguments
- universe
The universe (background) to use for enrichment analysis. One of "all" (all genes in OrgDb), "detected" (detected variables in
exp).- plot_type
Plot type for enrichment results ("dotplot", "barplot", etc.).
- plot_width
Width of the plot in inches. Default is 7.
- plot_height
Height of the plot in inches. Default is 7.
- ...
Additional arguments passed to
glystats::gly_enrich_kegg().
Details
Data required:
exp: The experiment to perform KEGG enrichment analysis forsig_exp: The filtered experiment from DEA, generated bystep_dea_xxx().
Tables generated:
kegg_enrich: A table containing the KEGG enrichment results.
AI Prompt
This section is for AI in inquire_blueprint() only.
Include this step if needed.
Leave
universeto "all" (by default) unless the user explicitly mentions that the background should be the detected variables inexp.If the experiment has more than 2 groups but the user wants enrichment for a specific two-group comparison, ask which two groups to compare and include
step_subset_groups(groups = c("A", "B"))before DEA and enrichment steps.