You can use `clusterProfiler::bitr()` to transfer your table from other gene_id to gene_symbol.

gene2ko(genedf, org = "hsa")

Arguments

genedf

,rowname is gene symbol (e.g. PFKM), colnames is samples

org

kegg organism, listed in 'https://www.genome.jp/kegg/catalog/org_list.html', default, 'hsa'

Value

kodf

Examples

data("genedf")
KOdf <- gene2ko(genedf, org = "hsa")
#> ================================load hsa pathway================================
#> =============hsa pathway download time: 2023-08-14 15:28:13.008682==============
#> If you want to update hsa pathway, use `update_org_pathway('hsa')`
#> 
#> 1000 genes are in the pathways, while 0 genes are not.