Curated clinical evidence counts for a gene
Arguments
- symbol
A HUGO gene symbol.
- ...
Passed to
biohttp::post_json(), for examplethrottle.
Value
A biohttp envelope whose data is a one-row tibble. See
civic_parse_gene().
On the interpolated query
CIViC's gene query takes the symbol as an inline string rather than a
GraphQL variable, so the symbol is substituted into the query text. It is run
through this package's internal clean_symbol() first, which strips
everything outside [A-Za-z0-9._-]. That is what stops a crafted symbol
closing the string and appending its own query. Do not remove it, and do not
switch to paste0() without it.
Examples
if (FALSE) { # \dontrun{
biohttp::body_or_null(civic_gene("NF1"))
} # }