mapGeneNamesToNcbi: Map gene names to NCBI

View source: R/mapGeneNamesToNcbi.R

mapGeneNamesToNcbiR Documentation

Map gene names to NCBI

Description

Map gene names to NCBI

Usage

mapGeneNamesToNcbi(genes, organism, taxonomicGroup = NULL, ncbi = NULL)

Arguments

genes

character. Gene names (e.g. "TUT4").

organism

character(1). Full Latin organism name (e.g. "Homo sapiens").

taxonomicGroup

character(1). NCBI FTP server taxonomic group subdirectory path (e.g. "Mammalia"). Defining this manually avoids having to query the FTP server.

ncbi

NcbiGeneIfo or NULL. If NULL, NCBI annotations will be downloaded automatically.

Note

Updated 2023-03-03.

Examples

## Homo sapiens.
x <- mapGeneNamesToNcbi(
    genes = c("TUT4", "ZCCHC11", "TENT3A"),
    organism = "Homo sapiens"
)
print(x)

## Mus musculus.
x <- mapGeneNamesToNcbi(
    genes = c("Nfe2l2", "Nrf2"),
    organism = "Mus musculus"
)
print(x)

acidgenomics/r-acidgenomes documentation built on Jan. 12, 2024, 4:06 a.m.