Vai al contenuto
GET /v1/enrichment

Functional enrichment of a gene set

Provalo dal vivo

10 chiamate gratuite al giorno — senza registrazione, senza chiave API. Passa dal gateway oanor.

Intestazioni personalizzate (facoltative)
api.oanor.com/string-api

Funziona. Prendi una chiave API e usala nel tuo progetto.

Ottieni una chiave API

Frammenti di codice

curl "https://api.oanor.com/string-api/v1/enrichment" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/string-api/v1/enrichment", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/string-api/v1/enrichment");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
    "https://api.oanor.com/string-api/v1/enrichment",
    headers={"x-oanor-key": "oanor_test_..."}
)

Risposta di esempio

Una risposta reale di questo endpoint, acquisita dall'ultimo health check.

{
    "data": {
        "count": 40,
        "terms": [
            {
                "fdr": 0.0021,
                "term": "GOCC:0005730",
                "p_value": 9.1e-7,
                "category": "COMPARTMENTS",
                "description": "Nucleolus",
                "genes_in_set": 4,
                "matching_genes": [
                    "MDM2",
                    "TP53",
                    "ATM",
                    "CDKN1A"
                ],
                "genes_in_background": 606
            },
            {
                "fdr": 0.0133,
                "term": "GOCC:0005654",
                "p_value": 1.15e-5,
                "category": "COMPARTMENTS",
                "description": "Nucleoplasm",
                "genes_in_set": 4,
                "matching_genes": [
                    "MDM2",
                    "TP53",
                    "ATM",
                    "CDKN1A"
                ],
                "genes_in_background": 1146
            },
            {
                "fdr": 2.65e-8,
                "term": "GO:0006977",
                "p_value": 1.69e-12,
                "category": "Process",
                "description": "DNA damage response, signal transduction by p53 class mediator resulting in cell cycle arrest",
                "genes_in_set": 4,
                "matching_genes": [
                    "MDM2",
                    "TP53",
                    "ATM",
                    "CDKN1A"
                ],
                "genes_in_background": 20
            },
            {
                "fdr": 5.11e-8,
                "term": "GO:0071480",
                "p_value": 6.52e-12,
                "category": "Process",
                "description": "Cellular response to gamma radiation",
                "genes_in_set": 4,
                "matching_genes": [
                    "MDM2",
                    "TP53",
                    "ATM",
                    "CDKN1A"
                ],
                "genes_in_background": 29
            },
            {
                "fdr": 2.74e-6,
                "term": "GO:0090399",
                "p_value": 3.04e-9,
                "category": "Process",
                "description": "Replicative senescence",
                "genes_in_set": 3,
                "matching_genes": [
                    "TP53",
                    "ATM",
                    "CDKN1A"
                ],
                "genes_in_background": 16
            },
            {
                "fdr": 2.17e-5,
                "term": "GO:0043516",
                "p_value": 3.6e-8,
                "category": "Process",
                "description": "Regulation of DNA damage response, signal transduction by p53 class mediator",
                "genes_in_set": 3,
                "matching_genes": [
                    "MDM2",
                    "TP53",
                    "ATM"
                ],
                "genes_in_background": 39
            },
            {
        
…