pypath.inputs.pharos.pharos_targets§
- pypath.inputs.pharos.pharos_targets(chunk_size: int = 100, expression: bool = False, gtex: bool = False, orthologs: bool = False, ligands: bool = False, xrefs: bool = False, diseases: bool = False) list [source]§
Query the NIH Pharos database by GraphQL.
The queried data is fetched in chunks, by default 100 records each. The complete data consists of thousands of chunks, the retrieval takes about half hour.
- Parameters:
chunk_size – Records in one batch. Better stay 100 because higher numbers likely to cause timeout errors.
- Returns:
Records as a list of dicts.