Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / solgs / population / gebv_pheno_regression.mas
blob3192b7ee4e90d1302027ded4b45b755cc18f8e55
1 <%doc>
3 =head1 NAME
4  
5 /solgs/population/gebvs_pheno_regression.mas - OLS gebv vs phenotype deviations 
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
17 $pop_id => ''
18 $combo_pops_id => ''
19 $trait_id
20 $trial_id => ''
22 </%args>
24 <%perl>
26 $pop_id = $trial_id if $trial_id;
28 </%perl>
31 <style>
33 .axis path, .axis line {
34   fill: none;
35   stroke: #000;
36   shape-rendering: crispEdges;
39 </style>
41 <& /util/import_javascript.mas, classes => [ "solGS.gebvPhenoRegression"] &>
43   <&| /page/info_section.mas, 
44   collapsible => 1, 
45   collapsed   => 0, 
46   title       => "GEBVs vs observed phenotypes" 
47     &>
48     
49 <div id="gebv_pheno_regression_canvas">
50   <div id="gebv_pheno_regrssion_plot"></div>
51   
52   <input type="hidden" id="population_id" value="<% $pop_id %>" /> 
53   <input type="hidden" id="combo_pops_id" value="<% $combo_pops_id %>" /> 
54   <input type="hidden" id="trait_id" value="<% $trait_id %>" />
56 </div>
58 </&>