check_gene_db | R Documentation |
Check gene names against NCBI database and fix nomenclature
check_gene_db(gene_vector, gene_db)
gene_vector |
Required. Character vector of input gene names. These can be slightly incorrect in their capitalization or be gene aliases. |
gene_db |
Required. Tibble data frame of the GENE database downloaded from NCBI. See below for details. How to download gene_db: url <- "https://ftp.ncbi.nih.gov/gene/DATA/GENE_INFO/Mammalia/Homo_sapiens.gene_info.gz" url <- "https://ftp.ncbi.nih.gov/gene/DATA/GENE_INFO/Mammalia/Mus_musculus.gene_info.gz" download.file(url, basename(url), method = "wget") gene_db <- read_tsv(gzfile(basename(url))) |
None
## Not run:
genes_clean <- check_gene_db(genes_dirty, gene_db)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.