Data source scores

Hi,

Is the data source scores accessible through API weighted?

Thanks
Philge

Hi @philge_philip,

yes, this is available through the API. We provide some examples that can be helpful in our /api page. This is how the query would look like to fetch the associations for IL22 split by data source:

query associatedDiseases {
  target(ensemblId: "ENSG00000127318") {
    id
    approvedSymbol
    associatedDiseases {
      count
      rows {
        disease {
          id
          name
        }
        datasourceScores {
          id
          score
        }
      }
    }
  }
}

In this case, the default weights are already applied.
I hope this is helpful!
Irene

1 Like