koname: Gives KO details when supplied with KO id

Description Usage Arguments Examples

View source: R/koname.R

Description

Gives KO details when supplied with KO id

Usage

1
koname(ko = "K00001", minimal = TRUE, test = FALSE, ...)

Arguments

ko

the koid

minimal

return minimal details

test

if it should be run as a example

...

additional dbquery parameters

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
koname(test=TRUE)
# JSON response from DB
# {
#  "columns" : [ "ko.ko", "ko.name", "ko.definition"  ],
#    "data" : [ [ "ko:K00001", "E1.1.1.1, adh", "alcohol dehydrogenase [EC:1.1.1.1]"  ]  ]
#
#}
#
#       ko.ko       ko.name                      ko.definition
# 1 ko:K00001 E1.1.1.1, adh alcohol dehydrogenase [EC:1.1.1.1]

MetamapsDB documentation built on May 1, 2019, 9:23 p.m.