plot_volcano | R Documentation |
This function plots effect size against significance for a given test of differential expression.
plot_volcano( dat, y = "p", fdr = 0.05, lfc = NULL, probes = NULL, size = NULL, alpha = NULL, title = "Volcano Plot", legend = "right", hover = FALSE )
dat |
Data frame or similar object representing the results of a test
for differential expression, such as the output of a call to |
y |
Plot p-values ( |
fdr |
Significance threshold for declaring a probe differentially expressed. |
lfc |
Optional effect size threshold for declaring a probe differentially expressed. |
probes |
Optional column number or name specifying where probe names are
stored, presuming they are not stored in |
size |
Point size. |
alpha |
Point transparency. |
title |
Optional plot title. |
legend |
Legend position. Must be one of |
hover |
Show probe name by hovering mouse over data point? If |
Volcano plots visualize the relationship between each probe's effect size and significance for a given test of differential expression. Points are colored to distinguish between those that do and do not meet a user-defined FDR threshold. Up- and down-regulated genes may also be differentially colored if a minimum absolute fold change is supplied. These figures help to evaluate the symmetry, magnitude, and significance of effects in an omic experiment.
# Simulated data library(DESeq2) dds <- makeExampleDESeqDataSet() dds <- DESeq(dds) res <- results(dds) plot_volcano(res) # Real data data(airway) dds <- DESeqDataSet(airway, design = ~ cell + dex) dds <- DESeq(dds) res <- results(dds) plot_volcano(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.