graphical filtering of accession search
[sgn.git] / mason / solgs / model / pca.mas
blobf773bf75319e6a075914c53fcd5b10cbbee4bf4b
1 <%doc>
3 =head1 NAME 
4 /solgs/model/pca.mas - displays population structure analysis(PCA) output
6 =AUTHOR
7 Isaak Y Tecle (iyt2@cornell.edu)
9 =cut
11 </%doc>
13 <%args>
15 $trial_id => ''
17 </%args>
19 <%perl>
21 my $pop_id = $trial_id if $trial_id;
23 </%perl>
26 <style>
28 .axis path, .axis line {
29   fill: none;
30   stroke: #000;
31   shape-rendering: crispEdges;
34 </style>
35 <link rel="stylesheet" href="/static/css/solgs/solgs.css" type="text/css" />
36 <& /util/import_javascript.mas, classes => ["solGS.pca"] &>
38 <&| /page/info_section.mas, 
39   collapsible => 1, 
40   collapsed   => 0, 
41   title       => "Population structure analysis - PCA" 
42 &> 
44 <input id="run_pca" class="button" type="button" value="Run PCA" /> 
45 <div id="pca_canvas"></div>
46 <div id="pca_plot"></div> 
47 <div id="pca_message" style="font-weight:bold;text-align:center;color:#A7C942"></div>
48 <input type="hidden" id="population_id" value="<% $pop_id %>" /> 
50 </&>