Ir al contenido
GET /v1/enrichment

Functional enrichment for a gene set

Pruébalo en vivo

10 llamadas gratis al día — sin registro, sin clave API. Pasa por el gateway de oanor.

Encabezados personalizados (opcional)
api.oanor.com/stringdb-api

Funciona. Consigue una clave API y úsala en tu proyecto.

Obtener una clave API

Fragmentos de código

curl "https://api.oanor.com/stringdb-api/v1/enrichment" \
  -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/stringdb-api/v1/enrichment", {
  headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/stringdb-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/stringdb-api/v1/enrichment",
    headers={"x-oanor-key": "oanor_test_..."}
)

Respuesta de ejemplo

Una respuesta real de este endpoint, capturada en la última comprobación de estado.

{
    "data": {
        "count": 50,
        "terms": [
            {
                "fdr": 0.0266,
                "term": "GOCC:0005654",
                "genes": [
                    "MDM2",
                    "EP300",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 1.15e-5,
                "category": "COMPARTMENTS",
                "description": "Nucleoplasm",
                "genes_in_set": 4,
                "genes_in_background": 1146
            },
            {
                "fdr": 8.66e-6,
                "term": "GO:0072331",
                "genes": [
                    "MDM2",
                    "EP300",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 5.52e-10,
                "category": "Process",
                "description": "Signal transduction by p53 class mediator",
                "genes_in_set": 4,
                "genes_in_background": 93
            },
            {
                "fdr": 4.35e-5,
                "term": "GO:0006977",
                "genes": [
                    "MDM2",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 5.55e-9,
                "category": "Process",
                "description": "DNA damage response, signal transduction by p53 class mediator resulting in cell cycle arrest",
                "genes_in_set": 3,
                "genes_in_background": 20
            },
            {
                "fdr": 4.35e-5,
                "term": "GO:0071478",
                "genes": [
                    "MDM2",
                    "EP300",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 7.86e-9,
                "category": "Process",
                "description": "Cellular response to radiation",
                "genes_in_set": 4,
                "genes_in_background": 183
            },
            {
                "fdr": 6.1e-5,
                "term": "GO:0071480",
                "genes": [
                    "MDM2",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 1.55e-8,
                "category": "Process",
                "description": "Cellular response to gamma radiation",
                "genes_in_set": 3,
                "genes_in_background": 29
            },
            {
                "fdr": 6.43e-5,
                "term": "GO:0042771",
                "genes": [
                    "EP300",
                    "TP53",
                    "CDKN1A"
                ],
                "p_value": 2.05e-8,
                "category": "Process",
                "description": "Intrinsic apoptotic signaling pathway in response to DNA damage by p53 class mediator",
                "genes_in_set": 3,
                "genes_in_background": 32
            },
            {
                "fdr": 0.00032,
   
…