tooluniverse.tools.OpenTargets_get_similar_entities_by_disease_efoId moduleΒΆ

OpenTargets_get_similar_entities_by_disease_efoId

Retrieve similar entities for a given disease efoId using a model trained with PubMed.

tooluniverse.tools.OpenTargets_get_similar_entities_by_disease_efoId.OpenTargets_get_similar_entities_by_disease_efoId(efoId, threshold, size, *, stream_callback=None, use_cache=False, validate=True)[source]ΒΆ

Retrieve similar entities for a given disease efoId using a model trained with PubMed.

Parameters:
  • efoId (str) – The EFO ID of the disease.

  • threshold (float) – Threshold similarity between 0 and 1. Only results above threshold are returned.

  • size (int) – Number of similar entities to fetch.

  • stream_callback (Callable, optional) – Callback for streaming output

  • use_cache (bool, default False) – Enable caching

  • validate (bool, default True) – Validate parameters

Return type:

Any