knitr::opts_chunk$set(echo = TRUE) library(knitr) devtools::load_all()
An r package that works as a wrapper to synonym information in ftp://ftp.ncbi.nlm.nih.gov/gene/DATA/gene_info.gz. Updates semi-regularly since 8th of Match 2017
Available species are
geneSynonym::taxData
More species can be added on request
library(devtools) install_github('oganm/geneSynonym')
The output is a nested list since gene synonyms are not nececarilly unique. For instance
mouseSyno('Tex40')
Names of vectors within the list are NCBI ids.
Input is a vector of gene names/NCBI ids and a tax identifier. Alternatively shorthand functions exist for human and mouse.
geneSynonym(c('Eno2','Mog'), tax = 10090) geneSynonym(c('Eno2','Mog'), tax = 10090) mouseSyno(c('Eno2',17441)) humanSyno('MOG')
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.