Gene symbolid transfer to entrezIDs (human gene)

gene2id(genes)

Arguments

genes

gene symbols e.g:ASGR2

Value

gene entrezIDs dataframe

Examples

if (requireNamespace("AnnotationDbi") && requireNamespace("org.Hs.eg.db")) {
  genes <- c(
    "ASGR2", "BEST1", "SIGLEC16", "ECRP", "C1QC", "TCN2", "RNASE2",
    "DYSF", "C1QB", "FAM20A", "FCGR1A", "CR1", "HP", "VSIG4", "EGR1"
  )
  gene2id(genes) -> geneid
}
#> Loading required namespace: AnnotationDbi