agent-browser
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extr…
维护者 FreedomIntelligence · 最近更新 2026年4月1日
Gene Set Enrichment Analysis using clusterProfiler gseGO and gseKEGG. Use when analyzing ranked gene lists to find coordinated expression changes in gene sets without arbitrary significance cutoffs. Detects subtle but coordinated expression changes.
原始来源
https://github.com/FreedomIntelligence/OpenClaw-Medical-Skills/tree/main/skills/bio-pathway-gsea
技能摘要
原始文档
GSEA uses all genes ranked by a statistic (log2FC, signed p-value) rather than a subset of significant genes. It finds gene sets where members are enriched at the top or bottom of the ranked list.
Goal: Create a sorted named vector of gene-level statistics suitable for GSEA input.
Approach: Extract fold changes (or other statistics) from DE results, name by gene ID, and sort in decreasing order.
"Run GSEA on my differential expression results" → Rank all genes by expression statistic and test whether predefined gene sets cluster toward the extremes of the ranked list.
library(clusterProfiler)
library(org.Hs.eg.db)
de_results <- read.csv('de_results.csv')
## Convert Gene IDs for GSEA
**Goal:** Map gene symbols to Entrez IDs while preserving the ranked statistic values.
**Approach:** Use bitr for ID conversion, then rebuild the named sorted vector with Entrez IDs as names.
```r
相关技能
Browse the web for any task — research topics, read articles, interact with web apps, fill forms, take screenshots, extr…
Access 20+ years of global financial data: equities, options, forex, crypto, commodities, economic indicators, and 50+ t…
Filter alignments by flag, quality, region, or paired status.
Index BAM/CRAM files with samtools index for random access.