# Symbol → Ensembl (human)convert_hm_genes(c("TP53", "KRAS"), type ="symbol")# Ensembl → Symbol (human)convert_hm_genes("ENSG00000141510")# Human → Mouse orthologsconvert_hm_orthologs(c("TP53", "KRAS"))
Gene Annotation Tables
# List available tablesls_annotables()# Load from Zenodo (fixed version, works offline)grch38 <-load_data("grch38")# Or build from Ensembl BioMart (latest, requires biomaRt + internet)grch38_latest <-build_annotables("grch38", tx2gene =FALSE)
Working with Custom Databases
dt <- data.table::data.table(UpperCase = LETTERS[1:5],LowerCase = letters[1:5])convert_custom(c("B", "C", "E"), from ="UpperCase", to ="LowerCase", dt = dt)#> [1] "b" "c" "e"