Commit 35e51d4e authored by Mathieu Giraud's avatar Mathieu Giraud

js/scatterPlot.js, js/clone.js: new axis 'productivity'

parent d5d58650
......@@ -664,6 +664,12 @@ Clone.prototype = {
return this.m.tag[this.getTag()].name
},
getProductivityName: function () {
if (typeof this.seg.junction == "undefined")
return "no CDR3"
return (this.seg.junction.productive ? "productive" : "not productive")
},
/* compute clone color
*
......
......@@ -147,6 +147,11 @@ function ScatterPlot(id, model, database) {
label: "CDR3 length",
fct: function(cloneID) {return self.m.clone(cloneID).getSegLength('cdr3')}
},
"productivity": {
label: "productivity",
fct: function(cloneID) {return self.m.clone(cloneID).getProductivityName()},
output: "string-sorted"
},
"coverage": {
label: "clone consensus coverage",
fct: function(cloneID){return self.m.clone(cloneID).coverage},
......
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