clustermarkers
БесплатноБез исполняемых скриптовНе проверенFinds differentially expressed genes (markers) for clusters of T/B cells using Seurat's FindMarkers function. Performs statistical testing between clusters…
от majiayu000★ 31 звезда на GitHubОб этом скилле
ClusterMarkers Process Configuration
Purpose
Finds differentially expressed genes (markers) for clusters of T/B cells using Seurat's FindMarkers function. Performs statistical testing between clusters, identifies cluster-defining genes, and automatically runs pathway enrichment analysis (via Enrichr) on significant markers. Generates publication-ready visualizations including volcano plots, dot plots, heatmaps, and enrichment plots.
When to Use
- After SeuratClustering: Essential for cluster interpretation and annotation
- Cluster annotation: Identify marker genes to assign biological meaning to clusters
- Publication preparation: Generate marker tables, volcano plots, and enrichment figures
- Cell type characterization: Understand functional differences between cell populations
- Comparative analysis: Compare clusters to find unique gene expression signatures
Configuration Structure
Process Enablement
[ClusterMarkers]
cache = true # Cache results for faster re-runs with different visualizations
Input Specification
[ClusterMarkers.in]
srtobj = ["SeuratClustering"] # Seurat object with cluster assignments
Environment Variables
Core Parameters
[ClusterMarkers.envs]
# Number of cores for parallel computation
ncores = 1 # int; Parallelize Seurat procedures
# Subset cells before marker finding (R expression)
subset = "seurat_clusters %in% c('c1', 'c2', 'c3')" # Optional
# Cache location for intermediate results
cache = "/tmp" # Path; Set to false to disable caching
# Assay to use for marker finding
assay = "RNA" # Default: uses active assay
# Error on no markers found
error = false # bool; If true, fail if no markers found
Statistical Test Selection
[ClusterMarkers.envs]
# Statistical test for differential expression
test.use = "wilcox" # Default
Available tests:
"wilcox": Wilcoxon rank sum test (default, fast)"wilcox_limma": Limma implementation (Seurat v4 compatibility)"MAST": GLM with cellular detection rate covariate (recommended)"DESeq2": Negative binomial model (robust, requires counts)"roc": ROC analysis (AUC-based classification)"t": Student's t-test"tobit": Tobit test for censored data"bimod": Likelihood-ratio test for bimodal expression"poisson": Poisson distribution (UMI datasets only)"negbinom": Negative binomial (UMI datasets only)"LR": Logistic regression (latent.vars supported)
Test selection guidelines:
- Default:
"wilcox"for speed and reliability - Publication-quality:
"MAST"for single-cell-specific modeling - Bulk-like DE:
"DESeq2"for rigorous statistical testing - UMI data:
"negbinom"or"poisson"for count-based models - Classification:
"roc"for AUC-based marker ranking
Threshold Parameters (Seurat FindMarkers)
[ClusterMarkers.envs]
# Minimum log2 fold change threshold
logfc.threshold = 0.25 # float; Default: 0.25
# Minimum percentage of cells expressing gene
min.pct = 0.1 # float; Range: 0.0-1.0
# Minimum difference in detection percentage
min.diff.pct = -Inf # float; Default: no limit
# Only positive markers (higher in ident.1 group)
only.pos = false # bool; Default: false (both directions)
# Maximum cells per identity (downsampling)
max.cells.per.ident = Inf # int; No downsampling by default
# Minimum cells expressing gene (poisson/negbinom tests)
min.cells.feature = 3 # int
# Minimum cells per group
min.cells.group = 3 # int
Note: Use - to replace . in parameter names (e.g., logfc.threshold, not logfc.threshold)
Significant Markers Filter (for Enrichment)
[ClusterMarkers.envs]
# Filter markers for enrichment analysis (R expression)
sigmarkers = "p_val_adj < 0.05 & avg_log2FC > 0" # Default
# Variables available: p_val, avg_log2FC, pct.1, pct.2, p_val_adj
# Example: "p_val_adj < 0.05 & abs(avg_log2FC) > 1" (both directions)
Enrichment Analysis
[ClusterMarkers.envs]
# Databases for pathway enrichment
dbs = ["KEGG_2021_Human", "MSigDB_Hallmark_2020"] # Default
# Enrichment style
enrich_style = "enrichr" # Options: "enrichr", "clusterprofiler", "clusterProfiler"
Available databases (enrichit):
"KEGG_2021_Human","KEGG": KEGG pathways"MSigDB_Hallmark_2020","Hallmark": MSigDB Hallmark gene sets"GO_Biological_Process_2025": Gene Ontology Biological Process"GO_Cellular_Component_2025": Gene Ontology Cellular Component"GO_Molecular_Function_2025": Gene Ontology Molecular Function"Reactome_Pathways_2024","Reactome": Reactome pathways"WikiPathways_2024_Human","WikiPathways": WikiPathways"BioCarta_2016": BioCarta pathways
More databases: https://maayanlab.cloud/Enrichr/#libraries
Visualization Parameters
[ClusterMarkers.envs]
# Marker plots configuration
marker_plots_defaults = {order_by = "desc(avg_log2FC)"}
# All markers plots (across clusters)
Установить clustermarkers в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл clustermarkers?
Finds differentially expressed genes (markers) for clusters of T/B cells using Seurat's FindMarkers function. Performs statistical testing between clusters, identifies cluster-defining genes, and automatically runs pathway enrichment analysis (via Enrichr) on significant markers. Generates publication-ready visualizations including volcano plots, dot plots, heatmaps, and enrichment plots.
Как установить скилл clustermarkers?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл clustermarkers запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an…
от Anthropicdiscernment-nudge
After you give a substantive answer or draft that the user may act on — advice or recommendations, drafted artifacts such as goals, plans, pitches, proposals…
от Anthropicdata-consolidate
Joins the plant's scheduled exports and connector data into one working dataset — ERP items (NetSuite or Infor M3), sales orders, production work orders…
от Anthropicinspection-to-capa
Runs the quality chain end to end: writes the nonconformance against the requirement it violates, searches history at the moment of writing to say whether…
от Anthropic