bio-reporting-quarto-reports
bio-reporting-quarto-reports,来自 FreedomIntelligence/OpenClaw-Medical-Skills 的 agent 技能。
它会碰到什么
这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。
技能内容
<!--
COPYRIGHT NOTICE
This file is part of the "Universal Biomedical Skills" project.
Copyright (c) 2026 MD BABU MIA, PhD <md.babu.mia@mssm.edu>
All Rights Reserved.
#
This code is proprietary and confidential.
Unauthorized copying of this file, via any medium is strictly prohibited.
#
Provenance: Authenticated by MD BABU MIA
-->
name: bio-reporting-quarto-reports
description: Build reproducible scientific documents, presentations, and websites with Quarto supporting R, Python, Julia, and Observable JS. Use when creating reproducible reports with Quarto.
tool_type: mixed
primary_tool: Quarto
measurable_outcome: Execute skill workflow successfully with valid output within 15 minutes.
allowed-tools:
- read_file
- run_shell_command
Quarto Reports
Basic Document
---
title: "Analysis Report"
author: "Your Name"
date: today
format:
html:
toc: true
code-fold: true
theme: cosmo
---
Python Document
---
title: "scRNA-seq Analysis"
format: html
jupyter: python3
---
import scanpy as sc
import matplotlib.pyplot as plt
adata = sc.read_h5ad('data.h5ad')
sc.pl.umap(adata, color='leiden')
R Document
---
title: "DE Analysis"
format: html
---
library(DESeq2)
dds <- DESeqDataSetFromMatrix(counts, metadata, ~ condition)
dds <- DESeq(dds)
Multiple Formats
---
title: "Multi-format Report"
format:
html:
toc: true
pdf:
documentclass: article
docx:
reference-doc: template.docx
---
# Render all formats
quarto render report.qmd
# Render specific format
quarto render report.qmd --to pdf
Parameters
---
title: "Parameterized Report"
params:
sample: "sample1"
threshold: 0.05
---
# Render with parameters
quarto render report.qmd -P sample:sample2 -P threshold:0.01
Tabsets
::: {.panel-tabset}
## PCA
plotPCA(vsd)
## Heatmap
pheatmap(mat)
:::
Callouts
::: {.callout-note}
This is an important note about the analysis.
:::
::: {.callout-warning}
Check your input data format before proceeding.
:::
::: {.callout-tip}
Use caching for long computations.
:::
Cross-References
See @fig-volcano for the volcano plot.
#| label: fig-volcano
#| fig-cap: "Volcano plot showing DE genes"
ggplot(res, aes(log2FC, -log10(pvalue))) + geom_point()
Results are summarized in @tbl-summary.
#| label: tbl-summary
#| tbl-cap: "Summary statistics"
knitr::kable(summary_df)
Code Cell Options
#| echo: true
#| warning: false
#| fig-width: 10
#| fig-height: 6
#| cache: true
import scanpy as sc
sc.pl.umap(adata, color='leiden')
Inline Code
We found `{python} len(sig_genes)` significant genes.
We found `{r} nrow(sig)` significant genes.
Presentations
---
title: "Analysis Results"
format: revealjs
---
## Slide 1
Content here
## Slide 2 {.smaller}
More content with smaller text
Quarto Projects
# _quarto.yml
project:
type: website
output-dir: docs
website:
title: "Analysis Portal"
navbar:
left:
- href: index.qmd
text: Home
- href: methods.qmd
text: Methods
- href: results.qmd
text: Results
Bibliography
---
bibliography: references.bib
csl: nature.csl
---
Gene expression analysis was performed using DESeq2 [@love2014].
## References
Freeze Computations
# _quarto.yml
execute:
freeze: auto # Only re-run when source changes
Include Files
{{< include _methods.qmd >}}
Diagrams with Mermaid
flowchart LR
A[Raw Data] --> B[QC]
B --> C[Alignment]
C --> D[Quantification]
D --> E[DE Analysis]
Multi-Language Document
---
title: "R + Python Analysis"
---
Load in R:
library(reticulate)
counts <- read.csv('counts.csv')
Process in Python:
import pandas as pd
counts_py = r.counts # Access R object
Related Skills
- reporting/rmarkdown-reports - R-focused alternative
- data-visualization/ggplot2-fundamentals - R visualizations
- workflow-management/snakemake-workflows - Pipeline integration
<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。
它属于哪个仓库
skills/bio-reporting-quarto-reports/SKILL.md