freedomintelligence/openclaw-medical-skills/bio-reporting-rmarkdown-reports

Claude Code and agent skill by freedomintelligence/openclaw-medical-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Create reproducible bioinformatics analysis reports with R Markdown including code, results, and visualizations in HTML, PDF, or Word format. Use when generating analysis reports with RMarkdown.

Install

npx vskill@latest install freedomintelligence/openclaw-medical-skills/bio-reporting-rmarkdown-reports

SKILL.md

The same SKILL.md was published earlier as freedomintelligence/openclaw-medical-skills/bio-reporting-rmarkdown-reports.

R Markdown Reports

Basic Document Structure

yaml
---
title: "RNA-seq Analysis Report"
author: "Your Name"
date: "`r Sys.Date()`"
output:
html_document:
toc: true
toc_float: true
code_folding: hide
theme: cosmo
---

Setup Chunk

`r

knitr::opts_chunk$set( echo = TRUE, message = FALSE, warning = FALSE, fig.width = 10, fig.height = 6, fig.align = 'center' ) library(tidyverse) library(DESeq2) library(pheatmap)

Code Chunk Options

`r

echo: show code

results: 'hide', 'asis', 'markup'

include: FALSE hides chunk entirely

eval: FALSE shows code but doesn't run

cache: TRUE caches results

Parameterized Reports

yaml
---
title: "Sample Report"
params:
sample_id: "sample1"
count_file: "counts.csv"
fdr_threshold: 0.05
---
`r

counts <- read.csv(params$count_file) sample <- params$sample_id fdr <- params$fdr_threshold

r
# Render with parameters
rmarkdown::render('report.Rmd', params = list(sample_id = 'sample2', fdr_threshold = 0.01))
# Batch render
samples <- c('sample1', 'sample2', 'sample3')
for (s in samples) {
rmarkdown::render('report.Rmd', params = list(sample_id = s),
output_file = paste0(s, '_report.html'))
}

Tables

`r

Basic kable table

knitr::kable(head(results), caption = 'Top DE genes')

Interactive table with DT

library(DT) datatable(results, filter = 'top', options = list(pageLength = 10))

Formatted table with kableExtra

library(kableExtra) results %>% head(10) %>% kable() %>% kable_styling(bootstrap_options = c('striped', 'hover')) %>% row_spec(which(results$padj < 0.01), bold = TRUE, color = 'red')

Figures

`r

ggplot(results, aes(log2FoldChange, -log10(pvalue))) + geom_point(aes(color = padj < 0.05)) + theme_minimal()

Inline Code

markdown
We identified `r sum(res$padj < 0.05, na.rm=TRUE)` significantly
DE genes (FDR < 0.05) out of `r nrow(res)` tested.

Child Documents

yaml
---
title: "Main Report"
---
`r

PDF Output

yaml
---
output:
pdf_document:
toc: true
number_sections: true
fig_caption: true
latex_engine: xelatex
---

HTML with Tabs

`r
## Results {.tabset}
### PCA Plot

plotPCA(vsd, intgroup = 'condition')

### Heatmap

pheatmap(assay(vsd)[top_genes, ])

Caching Long Computations

`r

Cached unless counts.csv changes

dds <- DESeqDataSetFromMatrix(counts, metadata, ~ condition) dds <- DESeq(dds)

Re-runs when deseq-analysis cache changes

res <- results(dds)

Custom CSS

yaml
---
output:
html_document:
css: custom.css
---
css
/* custom.css */
body { font-family: 'Helvetica', sans-serif; }
h1 { color: #2c3e50; }
.figure { margin: 20px auto; }

Complete Report Template

`markdown
---
title: "RNA-seq Analysis Report"
author: "Bioinformatics Core"
date: "`r Sys.Date()`"
output:
html_document:
toc: true
toc_float: true
code_folding: hide
params:
count_file: "counts.csv"
metadata_file: "metadata.csv"
---

knitr::opts_chunk$set(echo = TRUE, message = FALSE, warning = FALSE) library(DESeq2) library(tidyverse) library(pheatmap) library(DT)

## Data Overview

counts <- read.csv(params$count_file, row.names = 1) metadata <- read.csv(params$metadata_file, row.names = 1)

Loaded `r nrow(counts)` genes across `r ncol(counts)` samples.
## Differential Expression

dds <- DESeqDataSetFromMatrix(counts, metadata, ~ condition) dds <- DESeq(dds) res <- results(dds) %>% as.data.frame() %>% arrange(padj)

## Results

datatable(res %>% filter(padj < 0.05), options = list(pageLength = 10))

Related Skills

  • reporting/quarto-reports - Modern alternative
  • data-visualization/ggplot2-fundamentals - Figure creation
  • differential-expression/de-visualization - Analysis plots

<!-- AUTHOR_SIGNATURE: 9a7f3c2e-MD-BABU-MIA-2026-MSSM-SECURE -->

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
2,777
Repository forks
386
7-day trend score
40

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/freedomintelligence/openclaw-medical-skills/bio-reporting-rmarkdown-reports/badge)](https://verified-skill.com/skills/freedomintelligence/openclaw-medical-skills/bio-reporting-rmarkdown-reports)

Something wrong with this skill or its page? Tell us.