volcano_plot | R Documentation |
This function creates a volcano plot of p-values and effect sizes using ggplot2.
volcano_plot(
pvector,
effectvector,
FDR = FALSE,
title = NULL,
col = "gray40",
col.sig = "gray18",
cex = 0.5,
cex.sig = 0.75,
alpha = 0.5,
alpha.sig = 1,
size.line.sig = 0.5
)
pvector |
Vector of p-values |
effectvector |
Vector of effect sizes |
FDR |
Should an FDR level of significance be indicated? Defaults to FALSE. |
title |
Title text. |
col |
Color that will be used for probes for non-significant probes. Defaults to 'gray40'. |
col.sig |
Color of FDR or Bonferroni significant probes. Defaults to 'gray18'. |
cex |
Size of non-significant probes. Defaults to 0.5. |
cex.sig |
Size of significant probes. Defaults to 0.5. |
alpha |
Alpha of non-significant probes. Defaults to 0.5. |
alpha.sig |
alpha Alpha of non-significant probes. Defaults to 1. |
Size |
of line indicating FDR and Bonferroni significance. Defaults to 0.5. |
Volcano plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.