Skip to contents

Pure.

Usage

reactome_parse_pathways(body)

Arguments

body

A parsed Reactome pathways response, which is a bare array.

Value

A tibble of pathway_id, name, in_disease, and source_url, one row per pathway. NULL when the gene has none.

Examples

body <- list(list(
  stId = "R-HSA-5658442",
  displayName = "Regulation of RAS by GAPs",
  isInDisease = FALSE
))
reactome_parse_pathways(body)
#> # A tibble: 1 × 4
#>   pathway_id    name                      in_disease source_url                 
#>   <chr>         <chr>                     <lgl>      <chr>                      
#> 1 R-HSA-5658442 Regulation of RAS by GAPs FALSE      https://reactome.org/conte…