Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / solgs / population / combined / combined.mas
blob31688810878d099f5331f2fd8feb2b0da287b329
1 <%doc>
3 =head1 NAME
5 /solgs/population/combined/combined.mas - displays a list of traits common to the combined trials
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
16 <%args>
18 $combo_pops_id
19 $show_data => 1;
20 $training_pop_id => ''
21 $training_pop_name
22 $training_pop_desc
23 $training_pop_traits_details
24 $markers_no
25 $traits_no
26 $stocks_no
27 $protocol_url => ''
28 $owner => ''
29 $genotyping_protocol_id
30 $data_set_type => ''
31 </%args>
33 <%perl>
34         if (!$training_pop_id) {$training_pop_id = $combo_pops_id;}
35 </%perl>
37 <& /util/import_javascript.mas, classes => ["solGS.solGS"] &>
38 <& /util/import_css.mas, paths => ['/static/css/solgs/solgs.css'] &>
40 <br />
41 <br />
43 <& /page/page_title.mas,
44    title => "Select one or more traits from training population \"$training_pop_name\" to build a GS model and predict GEBVs for."
47 <&| /page/info_section.mas,
48     collapsible => 1,
49     collapsed   => 0,
50     title       => "Training population summary",
51   &>
53  <& /solgs/population/summary.mas,
54     training_pop_id   => $training_pop_id,
55     training_pop_name => $training_pop_name,
56     training_pop_desc => $training_pop_desc,
57     combo_pops_id => $combo_pops_id,
58     markers_no   => $markers_no,
59     traits_no    => $traits_no,
60     stocks_no    => $stocks_no,
61     protocol_url => $protocol_url,
62     owner        => $owner,
63  &>
65  <& /solgs/population/hidden_input.mas,
66     training_pop_id  => $training_pop_id,
67    combo_pops_id => $training_pop_id,
68         training_pop_name => $training_pop_name,
69         training_pop_desc => $training_pop_desc,
70         genotyping_protocol_id => $genotyping_protocol_id,
71     data_set_type => $data_set_type
72    &>
74 </&>
76 % if ($show_data)
80 <&| /page/info_section.mas,
81       collapsible => 1,
82       collapsed   => 0,
83       title       => "Traits"
86 <& /solgs/population/traits_list.mas,
87     training_pop_id => $training_pop_id,
88     training_pop_traits_details => $training_pop_traits_details,
89     data_set_type => $data_set_type,
90     genotyping_protocol_id => $genotyping_protocol_id,
93 </&>
95 <& /solgs/tools/correlation/correlation.mas,
96    corre_pop_id  => $training_pop_id,
97    data_set_type => $data_set_type
100 <& /solgs/population/trait_acronyms.mas &>
103 % else
106 <&| /page/info_section.mas,
107     collapsible => 1,
108     collapsed   => 0,
109     title       => "Data Accessibility",
110   &>
112 <p>This is private data.</p>
114 </&>