Free Access Week - Data Engineering + BI
Data Engineering and BI courses are free this week!
Free Access Week - Jun 2-8

MetamapsDB (version 0.0.2)

koname: Gives KO details when supplied with KO id

Description

Gives KO details when supplied with KO id

Usage

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

Run this code
# 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