Individual skill
sample-group-sankey-plot
Use when generating Sankey or alluvial plots from sample annotation tables where rows are samples and selected columns are categorical stages such as risk group, response status, subtype, or cohort labels. NOT for: gene network flow analysis, continuous-value trajectories, or graph-structured pathway visualization.
awesome-med-research-skills/Data Analysis/sample-group-sankey-plot/SKILL.md
Source commit 686e09dfdb45d9fa1a08664f06bb93769b3c9d91
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- No
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Not checked yet
- Last checked
- Nov 9, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 2,042
- Repository last updated
- Sep 17, 2026
- License
- MIT
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- bioinformatics Repository topic
- computational-biology Repository topic
- data-analysis Repository topic
- ai Repository topic
- biology Repository topic
- cancer-genomics Repository topic
- data-visualization Repository topic
- differential-expression Repository topic
- genomics Repository topic
- medical Repository topic
- data Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 bytesSKILL.mdcore · 9,695 byteseval_report_sample-group-sankey-plot_result.jsonasset · 13,499 bytesreferences/algorithm.mddoc · 2,065 bytesreferences/cli-guide.mddoc · 1,894 bytesreferences/troubleshooting.mddoc · 2,396 bytesscripts/functions.Rasset · 3,568 bytesscripts/install_dependencies.Rruns · 1,164 bytesscripts/main.Rruns · 5,055 bytesscripts/run_analysis.Rasset · 2,764 bytesscripts/utils.Rasset · 3,396 bytestests/data/sample_annotations.csvasset · 130 bytestests/run_smoke_test.Rruns · 1,452 bytes
Read excerpt
# Sample Group Sankey Plot
Builds a reproducible Sankey/alluvial visualization from a tabular sample annotation file and exports the selected annotations, lodes-format table, plot PDF, and session metadata.
## Input Validation
This skill accepts: a sample annotation table in CSV or TSV format where rows are samples and selected columns are categorical stages (e.g., risk group, response status, subtype, cohort label). At least 2 stage columns are required.
If the user's request does not involve generating a Sankey or alluvial flow diagram from categorical sample annotations — for example, asking to visualize a gene regulatory network, plot continuous-value trajectories, analyze pathway flow, or process non-tabular data — do not proceed with the workflow. Instead respond:
> "sample-group-sankey-plot is designed to generate Sankey/alluvial plots from categorical sample annotation tables. Your request appears to be outside this scope. Please provide a sample annotation table with at least 2 categorical stage columns, or use a more appropriate tool for gene network visualization or pathway analysis."
**Readability guidance:** Sankey plots are recommended for fewer than 8 unique values per stage and fewer than 5 stages total. For larger inputs, filter or aggregate categories before plotting to ensure readable output.