Description Usage Arguments See Also Examples
Generates a beeswarm plot of activity across specified groups
1 2 |
data |
data to plot |
activity |
activity variable |
group |
grouping variable |
labels |
legend labels |
vertical |
should activity be on the y axis. Default is FALSE |
stats |
dataframe to use to add p values on plot. Stats can be a dataframe output from |
... |
params for |
Other plot functions: plot_dims
,
plot_hairpin_coverage
1 2 3 4 5 6 7 8 9 10 11 | plot_activity(fsce_tidy, Uracil_45, k_cluster)
plot_activity(fsce_tidy, riboG_44, k_cluster, labels = LETTERS[1:6])
plot_activity(fsce_tidy, Uracil_45, k_cluster, vertical = TRUE)
x <- fsce_tidy[c("k_cluster", "Uracil_45")]
stats <- stat_activity_grouped(x, group = k_cluster)
stats <- subset(stats, q.value < 0.01)
stats[,"y_loc"] = seq(max(x$Uracil_45), max(x$Uracil_45) + 3, length.out = length(stats$group))
plot_activity(fsce_tidy, Uracil_45, k_cluster, stats = stats)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.