Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / solgs / population / selection_trait.mas
bloba1dc470d9b3ed74e40003fccca8b592e623099fa
1 <%doc>
3 =head1 NAME
5 /solgs/population/selection_trait.mas - displays trait GEBV prediction output for selection population using single trial model.
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
16 <%args>
19 $trait_abbr
20 $trait_name
21 $trait_id
23 $traits_no => ''
25 $training_pop_id
26 $training_pop_name
27 $training_pop_desc => ''
28 $training_pop_owner => ''
29 $training_stocks_cnt => ''
30 $training_markers_cnt => ''
31 $training_pop_url => ''
33 $selection_pop_id => ''
34 $selection_pop_name => ''
35 $selection_pop_desc => ''
36 $selection_pop_owner => ''
37 $selection_stocks_cnt => ''
38 $selection_markers_cnt => ''
40 $model_page_url => ''
41 $owner => ''
42 $protocol_url => ''
43 $top_blups
44 $blups_download_url
45 $combined_populations => ''
46 $combo_pops_id => ''
47 $genotyping_protocol_id
48 $data_set_type => ''
51 </%args>
53 <%perl>
54 </%perl>
56   <& /util/import_javascript.mas, classes => ["d3.d3Min", "solGS.solGS",
57                                               "flot.flot", "flot.categories",
58                                               "flot.tooltip", "flot.selection", "flot.navigate",
59                                               "flot.axisLabels",
60                                              ]
61   &>
63 <& /util/import_css.mas, paths => ['/static/css/solgs/solgs.css', '/static/css/d3-tip.css'] &>
66 <& /page/page_title.mas,
67    title => "GEBVs for $trait_name ($trait_abbr) in $selection_pop_name"
70 <&| /page/info_section.mas,
71   collapsible => 1,
72   collapsed   => 0,
73   title       => "Selection population summary",
74   &>
76  <& summary.mas,
77     selection_pop_id   => $selection_pop_id,
78     selection_pop_name => $selection_pop_name,
79     selection_pop_desc => $selection_pop_desc,
80     model_page_url   => $model_page_url,
81         training_pop_url => $training_pop_url,
82     stocks_no    => $selection_stocks_cnt,
83     markers_no   => $selection_markers_cnt,
84     traits_no    => $traits_no,
85     trait_name   => $trait_name,
86     protocol_url => $protocol_url,
87     owner        => $selection_pop_owner,
88    combined_populations => $combined_populations,
89  &>
91  <& /solgs/population/hidden_input.mas,
92         training_pop_id  => $training_pop_id,
93                 training_pop_name => $training_pop_name,
94                 training_pop_desc => $training_pop_desc,
95                 selection_pop_id  => $selection_pop_id,
96                 selection_pop_name => $selection_pop_name,
97                 selection_pop_desc => $selection_pop_desc,
98                 genotyping_protocol_id => $genotyping_protocol_id,
99                 trait_id => $trait_id,
100         combo_pops_id => $combo_pops_id
101     &>
102 </&>
104 <& /solgs/tools/pca/analysis.mas &>
106 <& /solgs/model/gebvs.mas,
107    top_blups         => $top_blups,
108   blups_download_url => $blups_download_url,
113 <& /solgs/tools/genetic_gain/genetic_gain.mas,
114    trait_id         => $trait_id,
115    training_pop_id  => $training_pop_id,
116    selection_pop_id => $selection_pop_id,