Merge pull request #4106 from solgenomics/topic/wishlist
[sgn.git] / mason / solgs / population / combined / multiple_traits_output.mas
blobf7c9bcd060639131e7dc212e561756cea47d3746
1 <%doc>
3 =head1 NAME
5 population/combined/multiple_traits_output.mas - displays multiple traits GS analysis output and links to traits' GS detailed output pages
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
17 $trait_pages
18 $training_pop_analyzed_traits
19 $training_pop_analyzed_traits_ids => undef
20 $combo_pops_id
21 $project_name
22 $model_data
23 $selection_prediction_download => undef
24 $selection_pop_id => undef
25 $list_of_prediction_pops => undef
26 $selection_pop_name => ''
27 $selection_pop_analyzed_traits => undef
28 $selection_pop_analyzed_traits_ids => undef
29 $genotyping_protocol_id
30 $acronym
32 </%args>
34 <%perl>
36 my $training_traits_ids = join(',', @$training_pop_analyzed_traits_ids);
38 my $selection_traits_ids;
40 if ($selection_pop_analyzed_traits_ids) {
41 $selection_traits_ids = join(',', @$selection_pop_analyzed_traits_ids);
44 </%perl>
46 <& /util/import_css.mas, paths => ['/static/css/solgs/solgs.css'] &>
48 <& /util/import_javascript.mas, classes => ["solGS.listTypeSelectionPopulation"] &>
50 <& /solgs/model/model_summary.mas,
51      model_data => $model_data
55 <& /solgs/population/selection_populations.mas,
56    selection_prediction_download  => $selection_prediction_download,
57    training_pop_analyzed_traits                => $training_pop_analyzed_traits,
58    training_pop_id                => $combo_pops_id,
59    project_name                   => $project_name,
60    selection_pop_id              => $selection_pop_id,
61    list_of_prediction_pops        => $list_of_prediction_pops,
62    selection_pop_name            => $selection_pop_name,
63    selection_pop_analyzed_traits => $selection_pop_analyzed_traits,
66 <& /solgs/population/genetic_correlation.mas,
67    training_pop_analyzed_traits               => $training_pop_analyzed_traits,
68   pop_id                         => $combo_pops_id,
69   project_name                   => $project_name,
70   selection_pop_id              => $selection_pop_id,
71   selection_pop_name            => $selection_pop_name,
72   selection_pop_analyzed_traits => $selection_pop_analyzed_traits,
75 <& /solgs/genetic_gain/genetic_gain.mas,
76    training_pop_analyzed_traits               => $training_pop_analyzed_traits,
77   training_pop_analyzed_traits_ids            => $training_pop_analyzed_traits_ids,
78   pop_id                         => $combo_pops_id,
79   project_name                   => $project_name,
80   selection_pop_id              => $selection_pop_id,
81   selection_pop_name            => $selection_pop_name,
82   selection_pop_analyzed_traits => $selection_pop_analyzed_traits,
83   &>
87 <& /solgs/selection_index/selection_index.mas,
88    training_pop_analyzed_traits               => $training_pop_analyzed_traits,
89   pop_id                         => $combo_pops_id,
90   project_name                   => $project_name,
91   selection_pop_id              => $selection_pop_id,
92   selection_pop_name            => $selection_pop_name,
93   selection_pop_analyzed_traits => $selection_pop_analyzed_traits,
96   <& /solgs/cluster/analysis.mas&>
98   <& /solgs/kinship/analysis.mas,
99      pop_id => $combo_pops_id
100     &>
102 <& /solgs/population/acronym.mas,
103    acronym => $acronym,
104   &>
108   <input type="hidden" id="training_traits_ids" value= "<% $training_traits_ids %>" />
109   <input type="hidden" id="selection_traits_ids" value="<% $selection_traits_ids %>" />
110   <input type="hidden" id="genotyping_protocol_id" value="<% $genotyping_protocol_id %>" />