GSEA gene set enrichment / GSEA 基因集富集分析
gseaGSEA gene set enrichment / GSEA 基因集富集分析 | USE WHEN: the user has a ranked gene list (e.g. DEGs sorted by log2FC) and wants to know which pathways are coordinately up- or down-regulated | ALIASES: GSEA, 基因集富集, 富集分析, 通路富集, NES, ES, 置换检验, gene set enrichment, ranked list, pathway | RETURNS: results(ES/NES/p_value/fdr 逐通路)、n_gene_sets、significant、engine(local_msigdb 或 hardcoded_50)、p_floor、方法学与图注段落
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ranked_genes": "<ranked_genes>",
"ranked_scores": "<ranked_scores>"
},
"name": "gsea"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n_perm | No | 置换次数,默认 200;P 值下限 = 1/n_perm(返回体给出 p_floor 并说明达到下限不等于 P=0) | |
| ranked_genes | Yes | 基因符号数组(HGNC 大写,至少 3 个;小写/Ensembl ID/探针 ID 会因重叠不足 3 个而报错) | |
| ranked_scores | Yes | 与 ranked_genes **等长**的排序分数(如 log2FC 或 -log10P×符号);长度不一致直接 422 |