Description Usage Arguments Value Examples
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.
1 | kegg_name2id(names = "", database = "ko", ignore.case = FALSE)
|
names |
list of names to match. |
database |
string. Database to search in. |
ignore.case |
logical. Case sensitivity or not. |
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.
1 2 | # "Rb1" and "pRb" are the same gene of mouse(mmu)
kegg_name2id(c("aaaa","Rb1","pRb"), "mmu")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.