Changelog
Source:NEWS.md
ggvolc 0.3.0
Better significance handling, auto-labels & interactivity
-
Significance on the adjusted p-value (FDR) by default.
ggvolc()gains asig_colargument ("padj"or"pvalue") and now defaults to"padj", so hits are called on the FDR — the recommended cutoff in most DE workflows — with the y-axis and the significance segment following the choice so the plot stays internally consistent. Setsig_col = "pvalue"for the raw p-value. When the default"padj"is used but the data has no adjusted-p column, ggvolc falls back to the raw p-value automatically. -
Robust to
p == 0. DESeq2 and edgeR can report a p-value of exactly 0 (floating-point underflow) for the strongest genes;-log10(0)isInf, which ggplot2 silently drops — so the most significant genes used to vanish from the plot. Those values are now capped to a finite ceiling (just above the most significant real gene) and a message reports how many were adjusted. -
label_top = N. Automatically highlight and label theNmost significant genes without building a separatedata2. Combines with an explicitdata2when both are supplied. -
label_dir. Choose the direction the labelled genes are drawn from:"both"(default),"up","down", or"each"(top N upregulated and top N downregulated). Pairs withlabel_top, e.g.label_top = 10, label_dir = "each". -
titleargument. The plot title is now configurable and defaults toNULL(no title), replacing the previous hardcoded placeholder title. -
Interactive volcano plots.
ggvolc(..., interactive = TRUE)returns aggiraphgirafewidget where hovering a point reveals the gene name and its statistics.ggiraphis an optional (Suggests) dependency, so the core package still installs without it. - New internal helper:
neglog10_cap(). - The README is now generated from
README.Rmd(viadevtools::build_readme()) so every example plot is rendered from live code and kept in sync with the package. -
DESCRIPTIONnow declaresR (>= 4.1.0), matching the native pipe (|>) used internally (previously mis-declared as>= 3.5.0).
ggvolc 0.2.0
Multi-pipeline support & gt tables
-
DESeq2, edgeR, and limma auto-detection:
ggvolc()andgenes_table()now accept output from all three major DE pipelines. Column names are automatically mapped internally — no manual renaming needed.- DESeq2:
log2FoldChange,pvalue,padj,baseMean - edgeR:
logFC,PValue,FDR,logCPM - limma:
logFC,P.Value,adj.P.Val,AveExpr
- DESeq2:
- Gene identifiers stored as row names (common in edgeR/limma) are automatically promoted to a
genescolumn. -
genes_table()rewritten withgt+patchwork:- Replaces
gridExtra::grid.arrangewithpatchwork::wrap_table() - Gene table rendered as a
gttable with formatted numerics, color-coded p-values, and directional log2FC coloring - p-value / adjusted-p columns use grid-safe scientific notation (
1.0e-08) so exponents render correctly once the table is composed into the plot graphic bypatchwork - Returns a proper
patchworkobject (composable,ggsave()-able)
- Replaces
- New internal helpers:
standardize_de_columns(),detect_de_source() - Added
testthattest suite covering all three DE formats, column detection, attention genes, plot options, and the new gene table. - Dependencies: replaced
gridExtrawithgtandpatchwork. - Version bump to 0.2.0.
ggvolc 0.1.0
CRAN release: 2026-01-16
Initial CRAN Release
- Initial release of ggvolc package
- Create customizable volcano plots for differential gene expression analysis
- Functions included:
-
ggvolc(): Main function to create volcano plots -
genes_table(): Combine volcano plots with gene tables
-
- Features:
- Highlight genes of interest
- Adjustable significance thresholds (p-value and fold change)
- Customizable colors for up/down regulated genes
- Optional significance segment lines
- Size scaling by log2FoldChange or p-value
- Integration with ggplot2 for additional customization
- Example datasets included:
-
all_genes: Complete differential expression results -
attention_genes: Subset of genes to highlight
-