group_enrichment2 {sigminer} | R Documentation |
Group Enrichment Analysis with Subsets
Description
More details see group_enrichment()
.
Usage
group_enrichment2(
df,
subset_var,
grp_vars,
enrich_vars,
co_method = c("t.test", "wilcox.test"),
ref_group = NA
)
Arguments
df |
a |
subset_var |
a column for subsetting. |
grp_vars |
character vector specifying group variables to split samples into subgroups (at least 2 subgroups, otherwise this variable will be skipped). |
enrich_vars |
character vector specifying measure variables to be compared.
If variable is not numeric, only binary cases are accepted in the form of
|
co_method |
test method for continuous variable, default is 't.test'. |
ref_group |
reference group set in |
See Also
[Package sigminer version 2.3.1 Index]