Genes DISEASES associates with a disease, across both channels
Source:R/diseases.R
diseases_gene_associations.RdQueries Knowledge and Textmining together and keeps the strongest score
per gene. Read the note on diseases_merge_channels() before relying on the
combined score.
Arguments
- doid
A Disease Ontology id, for example
"DOID:0060293".- limit
Maximum genes to ask for.
- ...
Passed to
biohttp::get_json(), for examplethrottle.
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.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(diseases_gene_associations("DOID:0060293"))
} # }