Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / solgs / population / trait_gebv_pheno_regression.mas
blobdd5e82d2712b250da0cfe7e31a5874a9ad3d9a0b
1 <%doc>
3 =head1 NAME
4  
5 population/trait_gebv_pheno_regression.mas - scatter plot 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 <div id="gebv_pheno_regression_canvas"></div>
44 <div id="gebv_pheno_regrssion_plot"></div>
45 <br/>
47 <input type="hidden" id="population_id" value="<% $pop_id %>" /> 
48 <input type="hidden" id="combo_pops_id" value="<% $combo_pops_id %>" /> 
49 <input type="hidden" id="trait_id" value="<% $trait_id %>" />