Description Usage Arguments Details Value References Examples
Data is assumed to be tidy with a single grouping variable; all other
variables are treated as activities to compare. Descriptive columns like
cell_id should not be included.
1 | stat_activity_grouped(tbl, group, complete = FALSE, ...)
|
tbl |
data from a |
group |
variable for generating combinations |
complete |
If |
... |
additional parameters to pass to |
Applies stats::wilcox.test() to unique pairs of groups for each measured
variable. Adjusted p-values are calculated using qvalue::qvalue(). A
ratio of activity in each group is reported; Inf values indicate that
no activities were measured for the second group.
tibble, sorted by q.value
activity
group
group1
ratio (ratio of the median signals in group over group1)
p.value
q.value
1 2 | x <- fsce_tidy[c("k_cluster", "Uracil_45", "riboG_44")]
stat_activity_grouped(x, group = k_cluster)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.