Sha256: a5dec8618371249c1821b24a4549be71e7bdb84743bff7ff52764d87c3171420
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
module OboParser module Utilities # Methods to aid in visualization module Helpers # @return [Array] # rows of data from ontology, just ID, name def self.simple_data(ontology) data = [] ontology.terms.each do |t| row = [] row.push(t.id.value) row.push(t.name.value) data.push row end data end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
obo_parser-0.4.2 | lib/obo_parser/utilities/helpers.rb |
obo_parser-0.4.1 | lib/obo_parser/utilities/helpers.rb |