4 /phenome/linked_alleles.mas - a component for printing table with alleles linked to the parent object
25 Naama Menda <nm249@cornell.edu>
38 use CXGN::Phenome::Allele ;
42 foreach my $allele_id (@$alleles) {
43 my $allele = CXGN::Phenome::Allele->new($dbh, $allele_id);
45 my $phenotype = $allele->get_allele_phenotype();
46 my $allele_link = qq|<a href="/phenome/allele.pl?allele_id=$allele_id">$phenotype </a>|;
47 my $locus_id = $allele->get_locus_id;
48 my $locus_name = $allele->get_locus_name;
49 my $locus_link = qq|<a href="/phenome/locus_display.pl?locus_id=$locus_id">$locus_name </a>|;
54 $allele->get_allele_name,
65 <& /page/columnar_table.mas,
66 headings => [ "Locus name", "Allele symbol", "Phenotype" ],
67 data => \@allele_data ,