You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/cli/Figure_Generation/ThreeColorHeatMapCLI.java
+25-2Lines changed: 25 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ static class MaxGroup {
76
76
@Option(names = {"-0", "--include-zeros"}, description = "used with `-p` flag, indicating exclusion of zero values when calculating percentile thresholds")
@Option(names = {"-cn", "--color-min"}, description = "Color indicating minimum values (default=YELLOW) For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
@@ -88,7 +88,20 @@ static class ColorGroup {
88
88
@Option(names = {"-ca", "--color-nan"}, description = "Color indicating not-a-number values (default=GRAY) For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
Copy file name to clipboardExpand all lines: src/cli/Figure_Generation/TwoColorHeatMapCLI.java
+17-21Lines changed: 17 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,6 @@ public class TwoColorHeatMapCLI implements Callable<Integer> {
56
56
57
57
@ArgGroup(exclusive = true, multiplicity = "0..1", heading = "%nSelect heatmap color:%n\t@|fg(red) (select no more than one of these options)|@%n")
58
58
privateColorGroupcolor = newColorGroup();
59
-
60
59
staticclassColorGroup {
61
60
@Option(names = { "--black" }, description = "Use the color black for generating the heatmap (default)")
62
61
privatebooleanblack = false;
@@ -68,6 +67,12 @@ static class ColorGroup {
68
67
"--color" }, description = "For custom color: type hexadecimal string to represent colors (e.g. \"FF0000\" is hexadecimal for red).\n See <http://www.javascripter.net/faq/rgbtohex.htm> for some color options with their corresponding hex strings.\n")
69
68
privateStringcustom = null;
70
69
}
70
+
@Option(names = { "-t", "--transparent" }, description = "Value indicating transparency of heatmap, 0 to 255 (default=255)\n")
71
+
privateintalpha = 255;
72
+
73
+
@Option(names = { "-b", "--background" }, description = "Set a transparent background for the heatmap minimum values (default=white)\n")
74
+
privatebooleantransparentBackground = false;
75
+
71
76
72
77
StringscaleType = "treeview";
73
78
ColorMAXCOLOR = Color.BLACK;
@@ -84,7 +89,7 @@ public Integer call() throws Exception {
0 commit comments