Skip to content

Commit

Permalink
fix error in color rescaling function
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiaos committed Feb 28, 2019
1 parent ca2832f commit f491363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: sumer
Title: SUmmarizing Multiple Enrichment analysis Results
Version: 1.1.1
Version: 1.1.2
Authors@R: person("Zhiao", "Shi", email = "[email protected]", role = c("aut", "cre"))
Description: Summarizes multiple enrichment analysis results with weighted
set cover and affinity propagation clustering algorithms. It therefore reduces redundancy among enriched
Expand Down
2 changes: 1 addition & 1 deletion R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ computeNodeColor <- function(maxVal, minVal, val){
maxColor <- 0.5;
minColor <- 0;
} else {
larger = Math.max(maxVal, Math.abs(minVal));
larger = max(maxVal, abs(minVal));
maxVal <- larger;
minVal <- -1.0*larger;
maxColor <- 1;
Expand Down

0 comments on commit f491363

Please sign in to comment.