View source: R/by_genes_or_panel.R
get_alias | R Documentation |
This function grabs known gene aliases for a given Hugo Symbol.
You may notice that genes -alias pairs are not always consistent. For example
get_alias("KMT2D") will return "MLL2" but get_alias("MLL2") will not return "KMT2D"
This function relies on the existing cBioPortal API which controls this database
of aliases. Therefore, this is a convenience function but
you may want to consider a more carefully curated alias list like cbioportalR::impact_gene_info
get_alias(hugo_symbol = NULL, base_url = NULL)
hugo_symbol |
a hugo symbol for which to return aliases |
base_url |
The database URL to query |
A character string with all aliases
## Not run:
get_alias(hugo_symbol = "FGFR3", base_url = 'www.cbioportal.org/api')
get_alias(hugo_symbol = c("FGFR3", "TP53"), base_url = 'www.cbioportal.org/api')
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.