Skip to content

Frankkk1912/xstars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

✨ XSTARS

Excel-based Statistics Tool for Analysis, Rapid Significance - in one click
See the stars in your data.

πŸ”„ Zero switching Β· 🧠 Zero barrier Β· πŸ’° Zero cost

πŸ“₯ Download Installer Β· πŸ‡¨πŸ‡³ δΈ­ζ–‡ζ–‡ζ‘£ Β· πŸš€ Quick Start Β· πŸ“Ί Demo Video Β·


πŸ€” Why XSTARS?

πŸŽ“ Your lab meeting is tomorrow. You just finished a Western blot and the band intensities are in Excel. Now you need to: open Prism, paste the data, pick the right statistical test, tweak the figure style, export it, paste it into your slides… An hour later, you've spent more time on the figure than on the experiment itself.

What if all of that took just one click β€” right inside Excel?

XSTARS is a free Excel add-in that generates publication-quality charts with automatic statistical testing β€” directly inside your spreadsheet. No new software to learn, no data to export, no code to write.

😩 The Problem

Pain point Before XSTARS
πŸ”€ Tool switching Copy data from Excel β†’ paste into Prism/R β†’ make figure β†’ paste back into manuscript
🀯 Choosing statistics "Should I use t-test or Mann-Whitney?" β€” manually check normality, decide, hope it's right
πŸ’Έ Cost GraphPad Prism: ~$300/year (student), ~$600+ (academic). Or use a pirated copy and worry
πŸ“š Learning curve R/Python: weeks of learning. Prism: a new interface to master

πŸ’‘ The Solution β€” Three Zeros

What it means
πŸ”„ Zero Switching Select data in Excel β†’ click β†’ figure appears in Excel. Your data never leaves
🧠 Zero Barrier Auto-detects normality & variance β†’ picks the right test β†’ draws significance brackets. You don't choose
πŸ’° Zero Cost Free and open-source. One installer, no Python required, no license fees

🎬 Demo

⚑ Quick Run β€” One click, instant figure

Quick Run Demo


βš”οΈ XSTARS vs. Alternatives

XSTARS GraphPad Prism R / Python
πŸ’° Price 🟒 Free πŸ”΄ ~$300–600/yr 🟒 Free
πŸ“Š Works inside Excel βœ… ❌ ❌
πŸ–±οΈ No coding required βœ… βœ… ❌
πŸ“¦ No Python/R install βœ… (standalone .exe) N/A ❌
πŸ€– Auto stat test selection βœ… ❌ Manual ❌ Manual
πŸ“ Significance brackets βœ… Automatic ⚠️ Manual placement ❌ Code required
πŸ§ͺ Experiment presets βœ… WB, qPCR, CCK-8, ELISA ❌ ❌ Build your own
🎨 Journal-matched themes βœ… 1,500+ style combinations ⚠️ Limited ❌ Code required
⏱️ Learning time 🟒 Minutes 🟑 Hours πŸ”΄ Weeks

πŸ’¬ XSTARS is not trying to replace Prism for every use case. It focuses on the most common lab scenario: you finished an experiment, your data is in Excel, and you need a publication-quality figure with correct statistics β€” fast.


🧰 Features

πŸ“Š Chart Types

  • Bar + Scatter β€” Mean bars with error bars (SEM / SD / 95% CI) and individual data points
  • Violin β€” Distribution shape with optional scatter overlay
  • Line β€” Group means connected by lines

πŸ€– Automatic Statistical Testing

No more guessing which test to use. XSTARS runs a decision tree on your data:

For each group: Shapiro-Wilk normality test
       ↓
Across groups: Levene's test for equal variance
       ↓
Auto-select the appropriate test:
Condition 2 Groups β‰₯ 3 Groups
Normal + Equal variance t-test ANOVA + Tukey HSD
Normal + Unequal variance Welch's t-test Welch's ANOVA + Games-Howell
Non-normal Mann–Whitney U Kruskal–Wallis + Dunn
Paired (normal) Paired t-test β€”
Paired (non-normal) Wilcoxon signed-rank β€”

Significance brackets (*, **, ***, ****, or exact p-values) are drawn automatically. ✨

⚠️ Small samples (N < 5): Normality tests are unreliable at very small N β€” XSTARS skips the test and assumes normality.

πŸ§ͺ Experiment Presets

Built-in workflows for common lab assays β€” no manual calculation needed:

πŸ”¬ Western Blot

  • Normalize band intensities β†’ fold change
  • Reference protein correction (e.g., GAPDH) per lane
  • Multi-target labeled mode: one figure per protein, automatic reference normalization

🧬 qPCR (ΔΔCt)

  • Accepts Ξ”Ct or raw Ct input
  • Automatic ΔΔCt β†’ 2^(βˆ’Ξ”Ξ”Ct) fold change calculation
  • Multi-gene labeled mode with reference gene normalization

πŸ’Š CCK-8 Cell Viability

  • Blank subtraction β†’ viability %
  • Optional IC50 fitting (4-parameter logistic curve)
  • Dose-response curve with flexible axis scaling

🧫 ELISA

  • Standard curve fitting (4PL/linear)
  • Sample concentration back-calculation
  • Supports manual parameter input for existing curves

πŸ”¬ Western Blot β€” Band quantification to fold change

Western Blot Demo

🧫 ELISA β€” Standard curve fitting & concentration back-calculation

ELISA Demo

🎨 Journal-Ready Theme System

Four independent controls β€” 1,500+ style combinations to match any journal, any aesthetic:

Control Options
πŸ–ŒοΈ Base Theme Classic Β· B&W Β· Minimal Β· Dark
πŸ“ Layout Journal typography presets β€” Nature Β· Science Β· Cell Β· Lancet Β· NEJM Β· JAMA Β· BMJ (figure width, font, size)
🎨 Palette Journal-inspired color palettes (ggsci-style)
πŸ’§ Color Style Pastel Β· Deep Β· Vibrant Β· Muted Β· Colorblind-safe

1,500+ figure styles β€” Mix Base Theme Γ— Layout Γ— Palette Γ— Color Style to match any journal, any aesthetic, any preference.

πŸ“€ Export

Save figures as PNG, TIFF, SVG, or PDF β€” with custom DPI up to 1200, ready for submission. 🎯


πŸš€ Quick Start

Option A: πŸ“₯ Installer (Recommended β€” no Python needed)

  1. Download XSTARS_Setup.exe from Releases
  2. Run the installer β€” it sets up the Excel add-in automatically
  3. Open Excel β†’ you'll see the XSTARS tab in the ribbon
  4. Select your data (with headers) β†’ click Run πŸŽ‰

πŸ’‘ New to XSTARS? Open XSTARS_Templates.xlsx (included in the installer) for ready-to-run example datasets covering every chart type and experiment preset β€” just click Run on any sheet to see XSTARS in action.

Option B: πŸ› οΈ Developer Setup (Python required)

git clone https://github.com/Frankkk1912/xstars.git
cd xstars
pip install -e ".[dev]"
xlwings addin install

Then open your .xlsm workbook and add the VBA callbacks β€” see ribbon/README.md.


πŸ“‹ Data Format

Organize data in wide format β€” each column is a group, each row is a replicate:

Control Treatment A Treatment B
1.2 2.3 3.1
1.4 2.1 2.9
1.1 2.5 3.3

For multi-target experiments (WB/qPCR labeled mode), add a label column:

Label Control Treatment A Treatment B
EGFR 1.2 2.3 3.1
EGFR 1.4 2.1 2.9
GAPDH 1.0 1.0 1.1
GAPDH 1.1 0.9 1.0

Select the range (including headers) β†’ click Run. That's it. βœ…


βš™οΈ Settings

All options are in a tabbed dialog:

Tab Options
⚑ General Chart type, error bars, data points, paired mode, annotation format, comparison mode
🎨 Theme Base Theme · Layout · Palette · Color Style (each independently adjustable from the ribbon)
πŸ§ͺ Preset Experiment type (WB / qPCR / CCK-8 / ELISA) and specific options
πŸ“€ Export Output format, DPI, file path

Settings persist across sessions in ~/.xstars/settings.json. πŸ’Ύ


πŸ“Œ Requirements

  • πŸͺŸ Windows with Microsoft Excel
  • Installer mode: Nothing else β€” the .exe bundles everything
  • Dev mode: Python β‰₯ 3.10

🀝 Contributing

Issues and pull requests are welcome!

πŸ“„ License

MIT β€” free for academic and commercial use.


⭐ XSTARS β€” Excel-based Statistics Tool for Analysis, Rapid Significance Β· See the stars in your data.

About

Excel-based Statistics Tool for Analysis, Rapid Significance - in one click

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors