Commit a8b354b4 authored by Mathieu Giraud's avatar Mathieu Giraud Committed by Vidjil Team
Browse files

model.js,index.html: csv bikeshedding

parent f3d20d22
...@@ -142,7 +142,7 @@ ...@@ -142,7 +142,7 @@
<a class="buttonSelector" onclick="javascript:m.saveAnalysis()">export analysis</a> <a class="buttonSelector" onclick="javascript:m.saveAnalysis()">export analysis</a>
<a class="buttonSelector" onclick="javascript:pdf.make()">export pdf (graph + selected clones)</a> <a class="buttonSelector" onclick="javascript:pdf.make()">export pdf (graph + selected clones)</a>
<a class="buttonSelector" onclick="javascript:pdf.makeGraph()">export pdf (graph)</a> <a class="buttonSelector" onclick="javascript:pdf.makeGraph()">export pdf (graph)</a>
<a class="buttonSelector" onclick="javascript:m.exportCSV()">export CSV</a> <a class="buttonSelector" onclick="javascript:m.exportCSV()">export csv (visible clones)</a>
</div> </div>
<div class="menu_box"> <div class="menu_box">
<div id="upload_list"> <div id="upload_list">
......
...@@ -1558,7 +1558,7 @@ Model.prototype = { ...@@ -1558,7 +1558,7 @@ Model.prototype = {
//header //header
var csv = "name,id,system,tag,v,d,j,sequence" var csv = "name,id,system,tag,v,d,j,sequence"
for (var i=0; i<this.samples.order.length; i++) csv += ",reads_"+i for (var i=0; i<this.samples.order.length; i++) csv += ",reads_"+i
for (var i=0; i<this.samples.order.length; i++) csv += ",size_"+i for (var i=0; i<this.samples.order.length; i++) csv += ",ratio_"+i
csv += "\n" csv += "\n"
//only non-empty active clones and "other" //only non-empty active clones and "other"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment