class Bio::Map::Marker
Description¶ ↑
This class handles markers that are anchored to a Bio::Map::SimpleMap
. It includes Bio::Map::ActsLikeMarker
, and therefore supports the methods of that module.
Usage¶ ↑
marker_a = Bio::Map::Marker.new('marker_a') marker_b = Bio::Map::Marker.new('marker_b')
Attributes
mappings_as_marker[RW]
Mappings
name[RW]
Name of the marker
Public Class Methods
new(name)
click to toggle source
Builds a new Bio::Map::Marker
object
Arguments:
-
name: name of the marker
- Returns
-
new
Bio::Map::Marker
object
# File lib/bio/map.rb 395 def initialize(name) 396 @name = name 397 @mappings_as_marker = Array.new 398 end