Skip to content

Commit

Permalink
karyotype 0.2.0 - now supports data-histograms and labeling of gene n…
Browse files Browse the repository at this point in the history
…ames, or loci
  • Loading branch information
andreasprlic committed Jul 17, 2017
1 parent 98918c2 commit 3a4d0ce
Show file tree
Hide file tree
Showing 9 changed files with 2,013 additions and 949 deletions.
1,132 changes: 818 additions & 314 deletions build/karyotypesvg.dbg.js

Large diffs are not rendered by default.

6 changes: 2 additions & 4 deletions build/karyotypesvg.min.js

Large diffs are not rendered by default.

1,130 changes: 818 additions & 312 deletions build/karyotypesvg.rel.js

Large diffs are not rendered by default.

5 changes: 1 addition & 4 deletions js/kt/datatrack.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,16 +83,13 @@ define(
*/
DataTrack.prototype.redraw = function (svg, y, trackHeight){




// the incoming y is for the karyotype. Since we draw on top,
// need to take the track height off
var baseline = y - trackHeight;

var maxHeight = this.data.header.max;

var spacer = 2;
var spacer = 0;

var heightScale = (trackHeight - spacer) / maxHeight;

Expand Down
Loading

0 comments on commit 3a4d0ce

Please sign in to comment.