kegg_name2id: Convert gene(compound, pathway, drug, etc.) symbol or name to...

Description Usage Arguments Value Examples

Description

As the symbols and names are not unique in a sense. Here we refer to the characters that wo can match in kegg database strictly. And if database is specified to concrete sub-database, conversion is faster.

Usage

1
kegg_name2id(names = "", database = "ko", ignore.case = FALSE)

Arguments

names

list of names to match.

database

string. Database to search in.

ignore.case

logical. Case sensitivity or not.

Value

dataframe. found represents different status. 0: doesn't find something matched. 1: found only 1 entry match. 2: found more than 1 entries matched, and we only take the first matched id. -1: Bad request.

Examples

1
2
# "Rb1" and "pRb" are the same gene of mouse(mmu)
kegg_name2id(c("aaaa","Rb1","pRb"), "mmu")

VonWebEinstein/keggAPI documentation built on May 9, 2019, 10:02 p.m.