Pure.
Value
A one-row tibble of id, symbol, entrez_id, evidence_items,
assertions, variants, and source_url. NULL when CIViC does not track
the gene, which it reports as data.gene = null.
Examples
body <- list(data = list(gene = list(
id = 3867, name = "NF1", entrezId = 4763, link = "/features/3867",
stats = list(evidenceItemCount = 56, assertionCount = 0, variantCount = 37)
)))
civic_parse_gene(body)
#> # A tibble: 1 × 7
#> id symbol entrez_id evidence_items assertions variants source_url
#> <chr> <chr> <chr> <dbl> <dbl> <dbl> <chr>
#> 1 3867 NF1 4763 56 0 37 https://civicdb.org…