Commit f6475844 authored by Marc Duez's avatar Marc Duez

browser : debug n_max / color by n / abundance axis

parent dcb27fc7
......@@ -120,7 +120,7 @@ Axis.prototype = {
//clone position
this.pos = function(cloneID) {
return self.sizeScale(self.m.getSize(cloneID))
return self.sizeScale(self.m.clone(cloneID).getSize())
}
//labels
......
......@@ -270,7 +270,7 @@ Clone.prototype = {
this.color = this.colorD;
}else if (this.m.colorMethod == "J" && this.seg["3"] !== undefined){
this.color = this.colorJ;
}else if (this.m.colorMethod == "N" && typeof (this.N) != 'undefined'){
}else if (this.m.colorMethod == "N"){
this.color = this.colorN;
}else if (this.m.colorMethod == "system") {
this.color = germline.icon[this.system].color
......
......@@ -492,6 +492,7 @@ Model.prototype = {
this.clusters[i] = [i]
clone.tag = default_tag;
}
this.n_max = n_max
// COLOR_N
for (var i = 0; i < this.n_clones; i++) {
......
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