View source: R/multi_volcano.R
multi_volcano | R Documentation |
Multiple volcano plots, where one or more comparisons are inferred from columns of tab
e.g. AvsB.logFC
, and each comparison is plotted with ezvolcano
.
multi_volcano(
tab,
lab.col = "Gene.Symbol",
ntop.sig = 0,
ntop.lfc = 0,
alpha = 0.4,
name = "volcanoes",
ann.rnames = NULL,
up.ann.color = "black",
down.ann.color = "black",
same.scale = FALSE,
type.sig = c("p", "FDR"),
cut.color = "black",
cut.lfc = 1,
cut.sig = 0.05,
lines.sig = ifelse(type.sig[1] == "p", yes = 0.05, no = NA),
raster = FALSE,
sep = ".",
na.lab = c("---", ""),
seed = 0,
plot = TRUE
)
tab |
Table of output from |
lab.col |
Column name or index of tab with labels, such as gene symbol, annotating features. If |
ntop.sig |
Number of top significant features to annotate. |
ntop.lfc |
Number of top logFC features to annotate. |
alpha |
Transparency for non-annotated points, passed to |
name |
Name of file to create. Set to |
ann.rnames |
Character vector of additional rownames of |
up.ann.color |
Color for annotated points that are upregulated ( |
down.ann.color |
Color for annotated points that are downregulated ( |
same.scale |
Logical, should axes' scales be the same for the different plots? |
type.sig |
Type of significance y-axis should use, either "p" or "FDR". |
cut.color |
Color of points that meet both |
cut.lfc |
Points need to have |
cut.sig |
Points need to have significance |
lines.sig |
Numeric vector of values of |
raster |
Rasterize points using |
sep |
Separator string between contrast names and suffix such as |
na.lab |
Character vector of labels in |
seed |
Numeric seed for reproducibility since |
plot |
Logical; should plot be generated? |
Uses colnames(tab)
that have suffix logFC
to infer comparisons.
Invisibly, a list of ggplot objects from ezvolcano
.
ezvolcano
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.