Class: Ensembl::Core::Map

Inherits:
DBConnection show all
Defined in:
lib/ensembl/core/activerecord.rb

Overview

DESCRIPTION

The Map class provides an interface to the map table. This table contains genetic maps.

This class uses ActiveRecord to access data in the Ensembl database. See the general documentation of the Ensembl module for more information on what this means and what methods are available.

USAGE

map = Map.find_by_name('MARC')
puts map.markers.length.to_s

Instance Method Summary collapse

Methods inherited from DBConnection

connect

Instance Method Details

#nameObject



1202
1203
1204
# File 'lib/ensembl/core/activerecord.rb', line 1202

def name
	return self.map_name
end