Commit a12ba472 authored by Marc Duez's avatar Marc Duez
Browse files

scatterplot.js : size analysis , detect if blob represent a clone/cluster or a...

scatterplot.js : size analysis , detect if blob represent a clone/cluster or a window/sequence and use correct size
parent 205f52bd
......@@ -672,7 +672,11 @@ ScatterPlot.prototype = {
break;
case "Size":
if (d.r1!=0){
d.y+=coef2*(self.sizeScale(self.m.getSize(d.id))*self.resizeH - d.y);
if (self.m.clones[d.id].cluster.length == 0){
d.y+=coef2*(self.sizeScale(self.m.getSequenceSize(d.id))*self.resizeH - d.y);
}else{
d.y+=coef2*(self.sizeScale(self.m.getSize(d.id))*self.resizeH - d.y);
}
}else{
d.y+=coef2*(self.resizeH-d.y);
}
......
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