Gives KO details when supplied with KO id
koname(ko = "K00001", minimal = TRUE, test = FALSE, ...)
the koid
return minimal details
if it should be run as a example
additional dbquery parameters
# NOT RUN {
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]
# }
Run the code above in your browser using DataLab