[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6DTACM0BXY5XTWTXSJ25JPK":3,"skill-same:01M6DTACM0BXY5XTWTXSJ25JPK":100},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":31,"linkOnly":32,"markdownContent":33,"markdownBody":34,"frontMatter":35,"refName":38,"commitSha":39,"skillDirectory":40,"forksCount":41,"repositoryHtmlUrl":42,"repositoryHomepageUrl":43,"ownerHtmlUrl":44,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":45,"install":46,"resources":59},"01M6DTACM0BXY5XTWTXSJ25JPK","bulkrna-deconvolution",null,"Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or signature-matrix reference. Skip when the data is already single-cell (no deconvolution needed); spatial deconvolution (use spatial-deconv).","TianGzlab\u002FOmicsClaw","TianGzlab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F150978281?v=4","01M6DT9WNJJ470ADHPSMFAA02Y","01M6DT9WSN09C5K65GB6RK18R9",161,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30],"bulkrna","bulkrna deconvolution","data","use","reference","Spatial","RNA","cell","type","single-cell","deconvolution","NNLS","cell-type-proportion","2026-11-10 10:12:30",false,"---\nname: bulkrna-deconvolution\ndescription: Load when estimating cell-type proportions in bulk RNA-seq samples from a single-cell or\n  signature-matrix reference. Skip when the data is already single-cell (no deconvolution needed); spatial\n  deconvolution (use spatial-deconv).\ntrigger: bulk deconvolution, cell type proportion, NNLS, CIBERSORTx, bulk deconv, cell fraction\ntags:\n- bulkrna\n- deconvolution\n- NNLS\n- cell-type-proportion\n---\n\n# bulkrna-deconvolution\n\n## When to use\n\nEstimate bulk cell-type proportions with an explicit signature matrix. See the description for adjacent skills.\n\n## Use from a step\n\n```python\nfrom skills._sdk.notebook import load_skill, read_input, write_output\nlibrary = load_skill(\"bulkrna-deconvolution\")\n# Supply DataFrames read with read_input(..., reader=...) for your CSV layout.\nresult = library.deconvolve(counts, signature=signature)\nwrite_output(result, \"tables\u002Fresult.csv\")\n```\n\nThe synthetic worked step is in `examples\u002Fexample_step.py`.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `deconvolve(counts, *, signature)`\n\nEstimate sample proportions without changing either input.\n\n:param counts: Nonnegative gene-by-sample expression DataFrame.\n:param signature: Required gene-by-cell-type reference, matching the CLI --reference.\n:returns: Sample-by-cell-type DataFrame; diagnostics contain residuals and shared genes.\n:raises ValueError: Matrices have invalid values, duplicate labels or no shared genes.\n\n### `run_info(result, *, keep=True)`\n\nRead reference overlap and reconstruction diagnostics.\n\n:param result: DataFrame returned by deconvolve.\n:param keep: Default True; False removes diagnostics from attrs.\n:returns: Diagnostic dictionary, empty after removal.\n\n### `proportions_figure(result)`\n\nPlot estimated cell-type proportions per sample.\n\n:param result: Sample-by-cell-type DataFrame from deconvolve.\n:returns: A matplotlib Figure, without writing files.\n:raises ValueError: The table cannot be plotted as numeric proportions.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\nSee [parameters](references\u002Fparameters.md) and [methodology](references\u002Fmethodology.md).\n\n## Gotchas\n\n- `deconvolve` requires shared gene identifiers and nonnegative matrices.\n- `run_info()['residuals']` measures fit to the supplied reference, not confidence intervals.\n- NNLS is the only backend; `deconvolve` does not call CIBERSORTx or MuSiC.\n\n## Inputs and outputs\n\nThe library returns objects without file writes. CLI inventory:\n\n**Inputs**\n\n- File types: `.csv`\n\n**Outputs**\n\n- `tables\u002Fdominant_types.csv`\n- `tables\u002Fproportions.csv`\n- `figures\u002Fmean_proportions_pie.png`\n- `figures\u002Fproportions_heatmap.png`\n- `figures\u002Fproportions_stacked.png`\n- `report.md`\n- `result.json`\n\n## CLI\n\n```bash\npython skills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Fbulkrna_deconvolution.py --demo --output \u002Ftmp\u002Fbulkrna-deconvolution\n```\n\n## See also\n\n- [Output contract](references\u002Foutput_contract.md)\n\n## Dependencies\n\n`matplotlib`, `numpy`, `pandas`, `scipy`\n","# bulkrna-deconvolution\n\n## When to use\n\nEstimate bulk cell-type proportions with an explicit signature matrix. See the description for adjacent skills.\n\n## Use from a step\n\n```python\nfrom skills._sdk.notebook import load_skill, read_input, write_output\nlibrary = load_skill(\"bulkrna-deconvolution\")\n# Supply DataFrames read with read_input(..., reader=...) for your CSV layout.\nresult = library.deconvolve(counts, signature=signature)\nwrite_output(result, \"tables\u002Fresult.csv\")\n```\n\nThe synthetic worked step is in `examples\u002Fexample_step.py`.\n\n## API\n\n\u003C!-- api:begin generated from _api.py; regenerate with run.py api \u003Cskill dir> --write -->\n\n### `deconvolve(counts, *, signature)`\n\nEstimate sample proportions without changing either input.\n\n:param counts: Nonnegative gene-by-sample expression DataFrame.\n:param signature: Required gene-by-cell-type reference, matching the CLI --reference.\n:returns: Sample-by-cell-type DataFrame; diagnostics contain residuals and shared genes.\n:raises ValueError: Matrices have invalid values, duplicate labels or no shared genes.\n\n### `run_info(result, *, keep=True)`\n\nRead reference overlap and reconstruction diagnostics.\n\n:param result: DataFrame returned by deconvolve.\n:param keep: Default True; False removes diagnostics from attrs.\n:returns: Diagnostic dictionary, empty after removal.\n\n### `proportions_figure(result)`\n\nPlot estimated cell-type proportions per sample.\n\n:param result: Sample-by-cell-type DataFrame from deconvolve.\n:returns: A matplotlib Figure, without writing files.\n:raises ValueError: The table cannot be plotted as numeric proportions.\n\n\u003C!-- api:end -->\n\n## Methods and parameters\n\nSee [parameters](references\u002Fparameters.md) and [methodology](references\u002Fmethodology.md).\n\n## Gotchas\n\n- `deconvolve` requires shared gene identifiers and nonnegative matrices.\n- `run_info()['residuals']` measures fit to the supplied reference, not confidence intervals.\n- NNLS is the only backend; `deconvolve` does not call CIBERSORTx or MuSiC.\n\n## Inputs and outputs\n\nThe library returns objects without file writes. CLI inventory:\n\n**Inputs**\n\n- File types: `.csv`\n\n**Outputs**\n\n- `tables\u002Fdominant_types.csv`\n- `tables\u002Fproportions.csv`\n- `figures\u002Fmean_proportions_pie.png`\n- `figures\u002Fproportions_heatmap.png`\n- `figures\u002Fproportions_stacked.png`\n- `report.md`\n- `result.json`\n\n## CLI\n\n```bash\npython skills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Fbulkrna_deconvolution.py --demo --output \u002Ftmp\u002Fbulkrna-deconvolution\n```\n\n## See also\n\n- [Output contract](references\u002Foutput_contract.md)\n\n## Dependencies\n\n`matplotlib`, `numpy`, `pandas`, `scipy`\n",{"name":5,"tags":36,"trigger":37,"description":7},[18,28,29,30],"bulk deconvolution, cell type proportion, NNLS, CIBERSORTx, bulk deconv, cell fraction","main","90a3bec3e6549bc33dddbf67e4b23869736c49d1","skills\u002Fbulkrna\u002Fbulkrna-deconvolution",27,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw","https:\u002F\u002FTianGzlab.github.io\u002FOmicsClaw\u002F","https:\u002F\u002Fgithub.com\u002FTianGzlab","2026-10-08 01:36:11",{"source":8,"skillName":5,"commands":47,"prompt":57,"zipAvailable":58},[48,51,54],{"tool":49,"command":50},"npx","npx skills add TianGzlab\u002FOmicsClaw --skill bulkrna-deconvolution",{"tool":52,"command":53},"bunx","bunx skills add TianGzlab\u002FOmicsClaw --skill bulkrna-deconvolution",{"tool":55,"command":56},"pnpm","pnpm dlx skills add TianGzlab\u002FOmicsClaw --skill bulkrna-deconvolution","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002FSKILL.md",true,[60,66,70,74,80,84,88,92,96],{"path":61,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":64,"sourceHtmlUrl":65},"_api.py","SCRIPT","脚本",1757,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002F_api.py",{"path":67,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":68,"sourceHtmlUrl":69},"bulkrna_deconvolution.py",11209,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Fbulkrna_deconvolution.py",{"path":71,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":72,"sourceHtmlUrl":73},"examples\u002Fexample_step.py",498,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Fexamples\u002Fexample_step.py",{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Fmethodology.md","REFERENCE","参考文档",2590,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Freferences\u002Fmethodology.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Foutput_contract.md",1352,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Freferences\u002Foutput_contract.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Fparameters.md",222,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Freferences\u002Fparameters.md",{"path":89,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":90,"sourceHtmlUrl":91},"tests\u002F__init__.py",0,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Ftests\u002F__init__.py",{"path":93,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":94,"sourceHtmlUrl":95},"tests\u002Ftest_api.py",1125,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Ftests\u002Ftest_api.py",{"path":97,"resourceType":62,"resourceTypeDesc":63,"sizeBytes":98,"sourceHtmlUrl":99},"tests\u002Ftest_bulkrna_deconvolution.py",1859,"https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fbulkrna\u002Fbulkrna-deconvolution\u002Ftests\u002Ftest_bulkrna_deconvolution.py",[101,114,126,142,166,187],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":31},"01M6DTP4X225Q92RMY8XXHPCTT","demo-skill","A fixture skill for the skill environment tests. Use it for nothing else.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fskillenv\u002Ffixtures\u002Fskills\u002Fdemo\u002Fdemo-skill\u002FSKILL.md",[],[108,109,110,111,112,21,113],"demo skill","demo","tests","fixture","fixture skill","environment",{"skillNo":115,"name":116,"nameZh":6,"description":117,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":118,"categories":119,"keywords":120,"publishedAt":31},"01M6DTP28JTWQK3HHXDNQV8BBV","fake-domains","Test fixture for the golden deployment in tests\u002Fentry. Load never; it has no script.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftests\u002Fentry\u002Ffake_skills\u002Fspatial\u002Ffake-domains\u002FSKILL.md",[],[121,122,123,110,111,124,125],"domains","fake domains","deployment","never","test",{"skillNo":127,"name":128,"nameZh":6,"description":129,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":130,"categories":131,"keywords":132,"publishedAt":31},"01M6DTNZ4AMWKTME1T18K5C643","replace-me-skill","Load when copying this directory to bootstrap a new OmicsClaw skill. Skip when an existing skill already covers the request.","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Ftemplates\u002Fskill\u002FSKILL.md",[],[133,134,135,136,137,138,139,140,141],"me","replace me skill","template","directory","skill template","existing skill","new skill","bootstrap","scaffold",{"skillNo":143,"name":144,"nameZh":6,"description":145,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":146,"categories":147,"keywords":148,"publishedAt":31},"01M6DTNV63MTD0Q6YRC52F0B1Y","spatial-velocity","Load when estimating RNA velocity on a spatial AnnData with `layers[\"spliced\"]` + `layers[\"unspliced\"]` via scVelo (stochastic \u002F deterministic \u002F dynamical) or veloVI (deep generative). Skip when input lacks the spliced\u002Funspliced layers (must be quantified upstream by velocyto \u002F kb-python \u002F STARsolo); non-spatial scRNA velocity (use sc-velocity).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-velocity\u002FSKILL.md",[],[149,150,23,151,152,153,154,155,24,156,157,158,159,160,161,162,163,21,164,165],"velocity","spatial velocity","scvelo","input","starsolo","time","deep","kb-python","via","velocyto","rna-velocity","velovi","dynamics","upstream","kb","python","deterministic",{"skillNo":167,"name":168,"nameZh":6,"description":169,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":170,"categories":171,"keywords":172,"publishedAt":31},"01M6DTNPMR227NAT8QFY620YDW","spatial-trajectory","Load when inferring pseudotime \u002F lineage trajectories on a preprocessed spatial AnnData via DPT (default — diffusion pseudotime), CellRank (terminal-state + fate-probability), or Palantir (waypoint branch probabilities). Skip when the data has spliced\u002Funspliced layers and you want velocity-driven dynamics (use spatial-velocity); non-spatial scRNA pseudotime (use sc-pseudotime).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-trajectory\u002FSKILL.md",[],[23,173,174,175,176,177,178,179,157,180,181,182,183,25,149,184,21,185,186,20],"trajectory","spatial trajectory","state","terminal","lineage","diffusion","cellrank","palantir","dpt","pseudotime","probability","default","branch","anndata",{"skillNo":188,"name":189,"nameZh":6,"description":190,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":191,"categories":192,"keywords":193,"publishedAt":31},"01M6DTNJEYFT33P84DGHDNXW95","spatial-statistics","Load when running spatial autocorrelation \u002F hotspot \u002F co-occurrence \u002F neighbourhood-enrichment \u002F Ripley K stats on a clustered spatial AnnData via squidpy. Skip when ranking spatially variable genes (use spatial-genes); tissue domain detection (use spatial-domains).","https:\u002F\u002Fgithub.com\u002FTianGzlab\u002FOmicsClaw\u002Fblob\u002Fmain\u002Fskills\u002Fspatial\u002Fspatial-statistics\u002FSKILL.md",[],[194,195,23,157,196,197,198,199,200,201,121,202,203,204,205,21,186,206,207,208],"spatial statistics","statistics","nhood-enrichment","co-occurrence","ripley","geary","moran","neighbourhood","ranking","autocorrelation","local","domain","detection","enrichment","stats"]