addPlotStatsSamples | R Documentation |
Use ggpubr to add statistics to samples or plot
addPlotStatsSamples(
p,
comp.group,
metadata,
h.adj = 0.05,
exact = FALSE,
second.comp.group
)
p |
Plot to add statistics to. |
comp.group |
Comparison metric. |
metadata |
Metadata for samples. |
h.adj |
Position of statistics test p value as % of max(y) (default = 0.05). |
exact |
Whether to calculate exact p values (default = FALSE). |
second.comp.group |
Second comparison metric. |
ggplot2 object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.