计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
statistics-ordination【效率与协作】Run scikit-bio distance-matrix statistics, ordination, compositional analyses, and biological embedding summaries.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when a task asks to test group differences from a scikit-bio DistanceMatrix, compare distance matrices, run ordination, transform or test compositional data, or convert biological embedding vectors into distances, ordination, or tabular summaries.
references/api-reference.md for public signatures, return objects, accepted input shapes, and result fields.references/workflows.md for copy-ready patterns covering distance tests, metadata alignment, ordination, composition transforms, ANCOM-style tests, and embeddings.references/troubleshooting.md for matrix validity, ID mismatches, permutation reproducibility, PCoA warnings, compositional zeros, differential-abundance shape issues, and backend limits.scripts/stats_ordination_smoke.py for a deterministic smoke check covering DistanceMatrix, permanova, pcoa, composition zero handling, and ProteinVector embedding utilities.PairwiseMatrix, SymmetricMatrix, DistanceMatrix, and random distance matrices with randdm.permanova, anosim, permdisp, mantel, pwmantel, or bioenv on existing distance matrices and aligned metadata.pcoa, pcoa_biplot, ca, cca, rda, mmvec, or inspecting OrdinationResults fields.closure, multi_replace, clr, ilr, alr, rclr, ANCOM, ANCOM-BC, structural-zero checks, or Dirichlet-multinomial differential-abundance tests.SequenceEmbedding, ProteinVector, or related embedding vectors and converting them with embed_vec_to_distances, embed_vec_to_ordination, embed_vec_to_dataframe, or embed_vec_to_numpy.../diversity-tables/SKILL.md first and return here once distances, compositions, or table-like inputs exist.../io-metadata/SKILL.md before running statistics.../trees-phylogeny/SKILL.md.Run the bundled script from any working directory after installing scikit-bio:
python scripts/stats_ordination_smoke.py
python scripts/stats_ordination_smoke.py --permutations 9 --seed 7
python scripts/stats_ordination_smoke.py --help
The script imports public scikit-bio APIs only, constructs a small DistanceMatrix, runs PERMANOVA and PCoA, applies zero replacement before CLR, creates simple ProteinVector objects, and prints compact JSON.