same brapi germplasm-search for get and post
[sgn.git] / mason / pca / analysis.mas
blobe8c48fee62a9761c73f56e35d773b96a06b11265
1 <%doc>
3 =head1 NAME
4  
5 /pca/analysis.mas - pca analysis using a list of trials or genotypes 
7 =AUTHOR
9 Isaak Y Tecle (iyt2@cornell.edu)
11 =cut
13 </%doc>
15 <%args>
17 </%args>
19 <link rel="stylesheet" href="/static/css/solgs/solgs.css" type="text/css" />
20 <& /util/import_javascript.mas, classes => ["d3.d3Min", "solGS.pca"] &>
22 <style>
24 .axis path, .axis line {
25   fill: none;
26   stroke: #000;
27   shape-rendering: crispEdges;
29 </style>
31 <br />
32 <br />
34 <&| /page/info_section.mas, 
35     collapsible => 0, 
36     collapsed   => 0,
37     title       => "Select a dataset and analyze its population structure -- principal component analysis (PCA)",
38   &>
41  <div class="fileupload-buttonbar">
42    
43     <div class="list_upload" id="list_label">
44       <label for="pca_genotypes_list">Select</label>
45     </div> 
46     <div class="list_upload" id="pca_genotypes_list">      
47     </div>
48     <div class="list_upload" id="pca_genotypes_list_upload">
49       <input type="button" value="Go" />
50     </div>
51     
52     <div class="list_upload" style="margin-left:5px">     
53       <i class="glyphicon-plus"></i>
54       <a href="/solgs/breeder_search" style="color:#ffffff">Create a new dataset</a>  
55     </div>
57     <br>
58     <br>
59    
60     <!-- The container for the uploaded list pca populations -->
61     <div class="sub_infosectioncontent" id="uploaded_pca_populations" style="display:none"></div>
62     <br>
64 </div>
66 </&>
69 <div id="pca_canvas"></div>
70 <div id="pca_plot"></div>
71   <div id="pca_message" style="font-weight:bold;text-align:center;color:#A7C942">
72     
73   </div>