BioGraphs

Make figures reproducible.

Nothing is drawn behind your back: every setting is a line of Python, run in your browser, and the chart you see is what that script drew.

Nothing to install · Your data stays in your browser

Made by BioGraphs from R's ToothGrowth data
Split violin plot titled Tooth growth by vitamin C dose and supplement: tooth length of guinea pigs at 0.5, 1 and 2 mg/day of vitamin C, orange juice (OJ) against ascorbic acid (VC), with quartiles, every data point, n = 10 per group and Tukey brackets: * at 0.5 mg, ** at 1 mg, ns at 2 mg
0.5 mg · VC vs OJdiff −5.25, p = 0.024 *
1 mg · VC vs OJdiff −5.93, p = 0.0074 **
2 mg · VC vs OJdiff 0.08, p > 0.99 ns

Two-way ANOVA (dose × supplement), then Tukey HSD between the supplements at each dose

Cell 6 of the script that made this figure (toothgrowth_analysis.py). The whole script opens with the example in the app.

Summary6 rows
dose · suppcountmeanstdsemmedianminmaxci95 lowci95 high
0.5 · VC107.982.74660.868567.154.211.56.01529.9448
0.5 · OJ1013.234.45971.410312.258.221.510.0416.42
1.0 · VC1016.772.51530.7954116.513.622.514.97118.569
1.0 · OJ1022.73.9111.236823.4514.527.319.90225.498
2.0 · VC1026.144.79771.517225.9518.533.922.70829.572
2.0 · OJ1026.062.65510.839625.9522.430.924.16127.959
Test4 rows
SourceSSDFMSFp_uncnp2
dose2426.421213.2924.046e-180.77311
supp205.351205.3515.5720.000231180.22383
dose * supp108.32254.1594.1070.021860.13203
Residual712.115413.187
Post-hoc (Tukey HSD)3 rows
ABmean diff (A-B)ci95 lowci95 highp adj
0.5 · VC0.5 · OJ-5.25-10.048-0.451880.024252
1.0 · VC1.0 · OJ-5.93-10.728-1.13190.007393
2.0 · VC2.0 · OJ0.08-4.71814.87811
Normality of residuals (Shapiro-Wilk)1 row
residualsnWp
ANOVA600.984990.66942
Normality (Shapiro-Wilk)6 rows
groupnWpnormal (p >= alpha)
0.5 · VC100.890.16956true
0.5 · OJ100.892740.18204true
1.0 · VC100.908340.26979true
1.0 · OJ100.92660.4153true
2.0 · VC100.973280.91945true
2.0 · OJ100.962580.81479true
Equal variances (Brown-Forsythe)1 row
testFdf1df2p
Brown-Forsythe (median)1.70865540.14836
Methods sentenceready to paste into a paper

Violin plot drawn with BioGraphs. Two-way ANOVA (group × split) was used. All values were computed in Python 3.14.2 (scipy 1.18.0, statsmodels 0.14.6, pingouin 0.7.0, scikit-posthocs 0.18.0, numpy 2.4.6, pandas 3.0.2, plotly 7.1.0); the analysis script (toothgrowth_analysis.py) reproduces every number.

What you get with every figure

The figure

SVG, PDF, TIFF or PNG at journal column widths, fonts embedded.

The statistics

Test, effect size, adjusted p-values and the checks of its assumptions, as tables.

The script

Plain Python with the exact library versions. Runs on any computer with pip.

The project

Data, settings and script in one file, to reopen next year or send to a coauthor.

Questions

What does "a figure you can defend" mean?

Every number on the chart comes from a named function, and the script that computed it is yours. When someone asks how you got a p-value, you show them the code and they can run it.

Do I need to know Python?

No. You click through data, chart and settings, and BioGraphs writes the script for you, cell by cell with plain comments. It is there when you, a reviewer or a bioinformatician wants it.

Which libraries compute the statistics?

SciPy, statsmodels, pingouin and scikit-posthocs, with exact versions in every script. The few methods no library has are short marked blocks of plain Python, shown with an N next to the test.

Where is my data processed?

In your browser. Python runs on your own computer, so your data never leaves it and nothing is uploaded to a server. There is nothing to install: BioGraphs opens like any web page.