Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
minor changes
  • Loading branch information
csw11004 committed Apr 17, 2015
1 parent 9e9c22a commit 4274870
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions VQI_GenomeBrowser.js
Expand Up @@ -845,18 +845,18 @@ function VQI_GenomeBrowser(id) {
return fullXScale(d[indexArray.start]);
})
.attr("y", function (d) {
return d[indexArray.score] > 0 ? -5 : 0;
return d[indexArray.score] > 0 ? -10 : d[indexArray.score] < 0 ? 0 : -5;
})
.attr("height", 5)
.attr("height", 10)
.attr("width", function (d) {
return fullXScale(d[indexArray.end]) - fullXScale(d[indexArray.start]);
})
.style("fill-opacity", "1")
.style("stroke", function (d) {
return d[indexArray.score] > 0 ? "red" : "green";
return d[indexArray.score] > 0 ? "red" : d[indexArray.score] < 0 ? "green" : "grey";
})
.style("fill", function (d) {
return d[indexArray.score] > 0 ? "red" : "green";
return d[indexArray.score] > 0 ? "red" : d[indexArray.score] < 0 ? "green" : "grey";
})
.style("vector-effect", "non-scaling-stroke")
.attr("class", "scalable")
Expand Down Expand Up @@ -918,14 +918,14 @@ function VQI_GenomeBrowser(id) {
.attr("x", function (d) {
return fullXScale(d[indexArray.start]);
})
.attr("y", -2.5)
.attr("height", 5)
.attr("y", -10)
.attr("height", 20)
.attr("width", function (d) {
return fullXScale(d[indexArray.end]) - fullXScale(d[indexArray.start]);
})
.style("fill-opacity", ".8")
.style("stroke", "gray")
.style("fill", "gray")
.style("stroke", "black")
.style("fill", "black")
.style("vector-effect", "non-scaling-stroke")
.attr("class", "scalable")

Expand Down

0 comments on commit 4274870

Please sign in to comment.