Agent skill · Data & Analytics

bio-data-visualization-flow-and-transition-plots

Build Sankey, alluvial, river, and CONSORT-style flow diagrams to visualize cohort transitions, cell-state changes, or pipeline filtering using ggalluvial, networkD3, plotly, and consort. Use when showing how entities move between categories across timepoints (cell states, drug response classes, patient flow through a trial) or filtering pipelines (variants filtered through QC stages).

BioTender-maxgithub.com/BioTender-maxGitHub ↗
claude-codeNOASSERTION
Install
npx skills add BioTender-max/awesome-bio-agent-skills --skill flow-and-transition-plots --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 3
SKILL.md size: 11 KB
Bundled scripts: none
Path: skills/bioskills/flow-and-transition-plots/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 135
Language: Python

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

## Version Compatibility Reference examples tested with: ggalluvial 0.12+, networkD3 0.4+, plotly 4.10+, consort 0.2+ (CONSORT diagrams), pySankey 0.0.1+. Before using code patterns, verify installed versions match. If versions differ: - R: `packageVersion('<pkg>')` then `?function_name` - Python: `pip show <package>` then `help(module.function)` If code throws ImportError, AttributeError, or TypeError, introspect the installed package and adapt the example to match the actual API rather than retrying. # Flow and Transition Plots **"Show how things flow between categories"** -> Render entities as ribbons whose width encodes count, flowing between ordered columns of categories. Sankey emphasizes total flow magnitude; alluvial emphasizes per-entity continuity (each row's path is traceable); CONSORT formalizes the trial-filtering convention. The decision space: which method (Sankey vs alluvial vs CONSORT), how to order categories within each column, and whether to highlight specific entity trajectories. - R: `ggalluvial::geom_alluvium`, `networkD3::sankeyNetwork`, `consort::consort_plot` - Python: `plotly.graph_objects.Sankey`, `pySankey` ## The Single Most Important Modern Insight --

What's inside
Steps it walks through
  1. Version Compatibility
  2. The Single Most Important Modern Insight -- Sankey vs Alluvial Are Different
  3. Decision Tree by Use Case
  4. ggalluvial -- Modern R Default for Alluvial
  5. networkD3 -- Interactive Sankey
  6. plotly Sankey (Python)
  7. CONSORT Diagrams -- The Formal Trial-Flow Standard
  8. Per-Method Failure Modes
  9. Sankey used when alluvial is appropriate
  10. Category ordering within column not specified
  11. Ribbon coloring by destination instead of origin
  12. CONSORT diagram missing required boxes
  13. plotly Sankey value sum mismatch
  14. Static export of plotly Sankey fails silently
Ships with 2 files
  • examples/alluvial_phd.R
  • usage-guide.md
More from awesome-bio-agent-skills
All skills →
About this skill
What does the bio-data-visualization-flow-and-transition-plots skill do?

Build Sankey, alluvial, river, and CONSORT-style flow diagrams to visualize cohort transitions, cell-state changes, or pipeline filtering using ggalluvial, networkD3, plotly, and consort. Use when showing how entities move between categories across timepoints (cell states, drug response classes, patient flow through a trial) or filtering pipelines (variants filtered through QC stages).

How do I install it?

Run `npx skills add BioTender-max/awesome-bio-agent-skills --skill flow-and-transition-plots --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From BioTender-max/awesome-bio-agent-skills, a repository with 135 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going