Summary | Included libraries | Package variables | Synopsis | Description | General documentation | Methods |
WebCvs | Raw content |
_marker_id | Description | Code |
display_id | Description | Code |
map_weight | Description | Code |
marker | Description | Code |
new | Description | Code |
_marker_id | code | next | Top |
Arg [1] : (optional) int $marker_id |
display_id | code | prev | next | Top |
Arg [1] : none |
map_weight | code | prev | next | Top |
Arg [1] : (optional) int $map_weight |
marker | code | prev | next | Top |
Arg [1] : (optional) Bio::EnsEMBL::Map::Marker $marker |
new | code | prev | next | Top |
Arg [1] : (optional) int $dbID |
_marker_id | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'marker_id'} = shift; } return $self->{'marker_id'};}
display_id | description | prev | next | Top |
my $self = shift; my $marker = $self->{'marker'}; return '' if(!$marker); my $ms = $marker->display_MarkerSynonym(); return '' if(!$ms); return $ms->name() || ''; } 1;}
map_weight | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'map_weight'} = shift; } return $self->{'map_weight'};}
marker | description | prev | next | Top |
my $self = shift; if(@_) { $self->{'marker'} = shift; } elsif(!$self->{'marker'} && $self->{'adaptor'} && $self->{'marker_id'}) { #lazy load the marker if it is not already loaded}
my $ma = $self->{'adaptor'}->db->get_MarkerAdaptor; $self->{'marker'} = $ma->fetch_by_dbID($self->{'marker_id'}); } return $self->{'marker'};
new | description | prev | next | Top |
my ($caller, $dbID, $adaptor, $start, $end, $slice, $analysis, $marker_id, $map_weight, $marker) = @_; my $class = ref($caller) || $caller; return bless( { 'dbID' => $dbID, 'adaptor' => $adaptor, 'start' => $start, 'end' => $end, 'strand' => 0, 'slice' => $slice, 'analysis' => $analysis, 'marker_id' => $marker_id, 'marker' => $marker, 'map_weight' => $map_weight }, $class);}
LICENSE | Top |
Copyright (c) 1999-2009 The European Bioinformatics Institute and
Genome Research Limited. All rights reserved.
This software is distributed under a modified Apache license. For license details, please see /info/about/code_licence.html
CONTACT | Top |
Please email comments or questions to the public Ensembl
developers list at <ensembl-dev@ebi.ac.uk>.
Questions may also be sent to the Ensembl help desk at <helpdesk@ensembl.org>.