signifPlot | R Documentation |
Plots result of signifPlot.
signifPlot(
results,
fdr = FALSE,
type = "bubble",
breaks = NULL,
comparisonGroup = NULL,
colours = c("#4575B4", "white", "#D73027"),
marksToPlot = NULL,
cutoff = 0.05,
contextColours = NULL,
contextLabels = waiver()
)
results |
A spicy results object |
fdr |
TRUE if FDR correction is used. |
type |
Whether to make a bubble plot or heatmap. Note: For survival results a bubble plot will be used. |
breaks |
Vector of 3 numbers giving breaks used in legend. The first number is the minimum, the second is the maximum, the third is the number of breaks. |
comparisonGroup |
A string specifying the name of the outcome group to compare with the base group. |
colours |
Vector of colours to use to colour legend. |
marksToPlot |
Vector of marks to include in plot. |
cutoff |
significance threshold for circles in bubble plot. |
contextColours |
Used for |
contextLabels |
Used for |
a ggplot or pheatmap object
data(spicyTest)
p <- signifPlot(spicyTest, breaks = c(-3, 3, 0.5))
# plot includes unicode characters, do not use default pdf device
ggplot2::ggsave(p, filename = tempfile(), device = cairo_pdf)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.