Skip to contents

Queries Knowledge and Textmining together and keeps the strongest score per gene. Read the note on diseases_merge_channels() before relying on the combined score.

Usage

diseases_gene_associations(doid, limit = 300, ...)

Arguments

doid

A Disease Ontology id, for example "DOID:0060293".

limit

Maximum genes to ask for.

...

Passed to biohttp::get_json(), for example throttle.

Value

A biohttp envelope whose data is the tibble described in diseases_merge_channels(), with source_url added.

A failed channel fails the call

If either channel errors, its envelope is returned rather than a combined score built from the other one. A result that silently dropped the curated channel would look like a weaker association rather than a partial answer, and the envelope has no status that says "half of this is missing". Call diseases_channel() per channel to handle the halves separately.

References

Pletscher-Frankild et al. (2015). DISEASES: text mining and data integration of disease-gene associations. Methods 74, 83-89. doi:10.1016/j.ymeth.2014.11.020

Service documentation: https://diseases.jensenlab.org/

Examples

# \donttest{
biohttp::body_or_null(diseases_gene_associations("DOID:0060293"))
#> NULL
# }