Package org.snpeff.util
Class GprHtml
- java.lang.Object
-
- org.snpeff.util.GprHtml
-
public class GprHtml extends java.lang.Object
General stuff realted to HTML- Author:
- pcingola
-
-
Constructor Summary
Constructors Constructor Description GprHtml()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
heatMapColor(double value, double maxValue, double minValue, int rgbMaxValue, int rgbMinValue)
Create a color (heat-map) based in a value and maximum possible valuestatic java.lang.String
heatMapColor(long value, long maxValue, long minValue, int rgbMaxValue, int rgbMinValue)
Create a color (heat-map) based in a value and maximum possible value
-
-
-
Method Detail
-
heatMapColor
public static java.lang.String heatMapColor(double value, double maxValue, double minValue, int rgbMaxValue, int rgbMinValue)
Create a color (heat-map) based in a value and maximum possible value- Parameters:
value
-maxValue
-- Returns:
-
heatMapColor
public static java.lang.String heatMapColor(long value, long maxValue, long minValue, int rgbMaxValue, int rgbMinValue)
Create a color (heat-map) based in a value and maximum possible value- Parameters:
value
-maxValue
-- Returns:
-
-