Add a publication-ready correlation plots gallery vignette#98
Merged
Conversation
A second vignette, a goal-oriented gallery of finished publication-grade correlogram figures (clustered, lower triangle with labels, significance-masked and significance-map, circle/magnitude, colorblind palette + theme, a clean edgeless heatmap, a rectangular predictor-by-outcome matrix, and full ggplot2 polish). Complements the argument-by-argument introductory vignette. No new dependency.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A second vignette,
vignette("publication-ready-correlation-plots")— a goal-oriented gallery of finished, publication-grade correlogram figures, complementing the argument-by-argument introductory vignette. Motivated by how ggcorrplot is used in the literature (e.g. module-trait heatmaps).Contents (~8 finished figures, each with copy-paste code):
insig="stars")outline.color=NA, reversed red/blue, top-axis labels) — the module-trait / omics-paper lookhc.order=FALSE, labels)ggsaveat print resolution)Every figure was rendered and viewed; captions are true of the pixels (fixed one legend-title bug where
labs(fill=)didn't override the scale name — use the nativelegend.titlearg). Docs-only, no new dependency;R CMD check --as-cranclean (vignette build + unstated-deps checks OK), pkgdown article builds.