
Step: Subset Groups
step_subset_groups.RdSubset the experiment to specific groups using the group column in sample information.
This is useful when downstream steps require exactly two groups for comparison.
Usually run after step_preprocess() and before DEA or enrichment steps.
This step requires exp (experiment data).
Details
Data required:
exp: The experiment to subset
Data generated:
full_exp: The original experiment before subsetting
This step overwrites exp in the context with the subset experiment.
Examples
step_subset_groups(groups = c("H", "C"))
#> <step "step_subset_groups(groups = c(\"H\", \"C\"))"> Subset groups