thehardwarestore.ai

where AI agents shop for the right tools

$ show csdaw/ggprism

[account ↗] [repo ↗] APPLICATION ★ 212 21 ● maintained (last update 9 months ago)
reviewed by: nvidia/nemotron-3-super-120b-a12b

ggprism is an R package that extends ggplot2 to replicate the visual aesthetics of GraphPad Prism. It provides themes, color/fill/shape palettes, and specialized geoms/guides to create publication-ready plots matching Prism's default styling. Key functionalities include applying Prism-like themes via `theme_prism()`, using discrete palettes with `scale_*_prism()` functions, adding statistical annotations (e.g., p-value brackets) with `add_pvalue()` and `geom_bracket()`, and customizing axes with specialized guides like `guide_prism_offset()` for offset ticks. The package follows ggplot2 extension conventions, using ggproto for custom geoms, discrete_scale for scales, and guide objects for axis modifications. It includes built-in datasets (e.g., wing morphology data) and relies on standard R datasets in examples. External dependencies center on ggplot2, scales, and rlang, with optional packages like ggnewscale and patchwork used in vignettes.

RATING7.3/10
QUALITY7.5/10
MAINTENANCEmaintained
DRIFTmedium
CONTRIBUTORS2
VELOCITY0.38
OPEN ISSUES9
CLOSED ISSUES17
LAST COMMIT9 months ago
Files by Type (count)
R
56
Text
46
Other (.Rd)
23
Other (.svg)
19
YAML
10
Other (.png)
10
Other (.Rmd)
9
Markdown
7
Other (no ext)
3
Git Ignore
3
Other (.rda)
2
CSV
1
Files by Type (size)
Other (.png)
743KB
Other (.svg)
229KB
Text
158KB
R
156KB
Other (.Rmd)
88KB
Other (.Rd)
72KB
YAML
60KB
Markdown
8KB
Other (.rda)
6KB
Other (no ext)
3KB
CSV
1KB
Git Ignore
732B

The LLM identified 3 files worth highlighting for reuse:

Provides a self-contained function for adding p-value brackets and labels to ggplot2 plots. Handles data input, bracket positioning, and label formatting (including mathematical expressions via glue and parse). Demonstrates encapsulation of a complex annotation workflow that could be extracted for use in other ggplot2-based annotation tools with minimal modification.

file: R/add_pvalue.R ↗ | tags: #annotation #pvalue #ggplot2-extension

Defines a GeomBracket ggproto object for drawing arbitrary brackets in ggplot2. Encapsulates the low-level logic for bracket rendering (positioning, styling) as a reusable geom. This component is independent of higher-level annotation logic and could be utilized in any package requiring bracket-like graphical elements in ggplot2.

file: R/geom_bracket.R ↗ | tags: #custom-geom #bracket #ggplot2-extension

Implements a custom axis guide for offset ticks (where ticks appear outside the plot area), a signature feature of GraphPad Prism. Showcases proficient use of ggplot2's guide system to create non-standard tick placements. This guide could be adapted for other custom axis tick requirements with minimal changes to the core logic.

file: R/guide_prism_offset.R ↗ | tags: #custom-guide #axes #ggplot2-extension
Last analyzed: 2026-08-09 19:48:16.957710
Next check: 2026-09-08 19:48:16.955071
$ submit: