Skip to contents

Using Open Target's GraphQL API to read and format indications and tractability information for a set of genes.

Usage

summarize_open_targets_targets(target_ensembl_gene_ids)

Arguments

target_ensembl_gene_ids

a character vector of ensembl gene names

Value

a list containing:

targets

tibble summarizing each target and their known chemical modulators

indications

tibble summarizing disease/phenotypic associations scores related to each target. NULL if no scores are present

Examples

target_ensembl_gene_ids <- c(
  "ENSG00000999999",
  "ENSG00000119718",
  "ENSG00000175354",
  "ENSG00000091831"
  )
summarize_open_targets_targets(target_ensembl_gene_ids)
#> Warning: No results for 1 ensembl IDs
#> were found in Open Targets:
#> ENSG00000999999
#> $targets
#> # A tibble: 3 × 13
#>   ensembl_id      approvedSymbol approvedName             small molecule tract…¹
#>   <chr>           <chr>          <chr>                    <chr>                 
#> 1 ENSG00000119718 EIF2B2         "eukaryotic translation… "Structure with Ligan…
#> 2 ENSG00000175354 PTPN2          "protein tyrosine phosp… "Druggable Family, Hi…
#> 3 ENSG00000091831 ESR1           "estrogen receptor 1"    "Approved Drug, Drugg…
#> # ℹ abbreviated name: ¹​`small molecule tractability`
#> # ℹ 9 more variables: `antibody tractability` <chr>,
#> #   `protac tractability` <chr>, `<NA>` <chr>, drugs <chr>,
#> #   `high quality probes` <chr>, `N probes` <int>, `o/e synonymous` <dbl>,
#> #   `o/e non-synonymous` <dbl>, `o/e loss-of-function` <dbl>
#> 
#> $indications
#> # A tibble: 75 × 12
#>    approvedSymbol disease_name               score affected_pathway animal_model
#>    <chr>          <chr>                      <dbl>            <dbl>        <dbl>
#>  1 EIF2B2         CACH syndrome               0.79             NA          NA   
#>  2 ESR1           breast cancer               0.72             NA          NA   
#>  3 ESR1           breast carcinoma            0.71              0.4        NA   
#>  4 ESR1           osteoporosis                0.68             NA           0.4 
#>  5 EIF2B2         leukoencephalopathy with …  0.67             NA          NA   
#>  6 ESR1           breast neoplasm             0.67             NA          NA   
#>  7 ESR1           Estrogen resistance syndr…  0.66             NA           0.57
#>  8 ESR1           neoplasm                    0.66             NA          NA   
#>  9 ESR1           lean body mass              0.63             NA          NA   
#> 10 ESR1           polycystic ovary syndrome   0.61             NA           0.57
#> # ℹ 65 more rows
#> # ℹ 7 more variables: genetic_association <dbl>, known_drug <dbl>,
#> #   literature <dbl>, rna_expression <dbl>, somatic_mutation <dbl>,
#> #   therapeutic_area <chr>, description <chr>
#>