Skip to contents

Get Hugo Symbol for a given set of Entrez IDs

Usage

get_hugo_symbol(entrez_id = NULL, base_url = NULL)

Arguments

entrez_id

a character or numeric vector of Entrez gene IDs

base_url

The database URL to query

Value

A dataframe with Entrez Gene IDs and Hugo Symbols

Examples

# \dontrun{
get_hugo_symbol(entrez_id = 2261, base_url = 'www.cbioportal.org/api')
#> # A tibble: 1 × 3
#>   entrezGeneId hugoGeneSymbol type          
#>          <int> <chr>          <chr>         
#> 1         2261 FGFR3          protein-coding
get_hugo_symbol(entrez_id = c(2261, 7157) , base_url = 'www.cbioportal.org/api')
#> # A tibble: 2 × 3
#>   entrezGeneId hugoGeneSymbol type          
#>          <int> <chr>          <chr>         
#> 1         7157 TP53           protein-coding
#> 2         2261 FGFR3          protein-coding
# }