Method: Bio::KEGG::Keggtab#taxonomy
- Defined in:
- lib/bio/db/kegg/keggtab.rb
#taxonomy(node = nil) ⇒ Object
Returns a hash containing Taxonomy section of the keggtab file. If argument is given, returns a List of all child nodes belongs to the label node. (e.g. “eukaryotes” -> [“animals”, “plants”, “protists”, “fungi”], …)
182 183 184 185 186 187 188 |
# File 'lib/bio/db/kegg/keggtab.rb', line 182 def taxonomy(node = nil) if node @taxonomy[node] else @taxonomy end end |