6 /markers/rflp.mas - a Mason component displaying information about rflp (known function genes) markers
16 $marker - a CXGN::Marker object.
20 Lukas Mueller <lam87@cornell.edu>
32 use CXGN::Tools::Text;
33 use CXGN::Marker::Tools;
35 my @marker_names = $marker->name_that_marker();
36 my $dbh = $marker->{dbh};
37 my $marker_id = $marker->marker_id();
39 my ($marker_name, @other_names) = @marker_names;
41 my $collections_string='';
42 my $collections_description='';
43 my $collections = $marker->collections();
45 if($collections and @{$collections}) {
46 $collections_string=CXGN::Tools::Text::list_to_string(@{$collections})." ";
47 for my $collection(@{$collections}) {
48 $collections_description.="$collection markers are ".CXGN::Marker::Tools::collection_name_to_description($dbh,$collection)."<br />";
53 <div class="center">SGN-M<% $marker_id %><br /><% $collections_description %>