Skip to contents

Map gene names (symbols) to HGNC identifiers

Usage

mapGeneNamesToHgnc(genes, ignoreCase = FALSE, hgnc = NULL)

Arguments

genes

character. Human gene names (e.g. "TUT4").

ignoreCase

logical(1). Perform case-insensitive matching.

hgnc

Hgnc or NULL. If NULL, HGNC annotations will be downloaded automatically.

Note

Updated 2025-04-14.

Examples

## Homo sapiens (only).
x <- mapGeneNamesToHgnc(genes = c("TUT4", "ZCCHC11", "TENT3A"))
#> → Importing HGNC complete set.
#> Error in vapply(X = X, FUN = FUN, FUN.VALUE = logical(1L), ..., USE.NAMES = useNames): formal argument "USE.NAMES" matched by multiple actual arguments
print(x)
#> Error: object 'x' not found