Package org.snpeff.util
Class GprHtml
java.lang.Object
org.snpeff.util.GprHtml
General stuff realted to HTML
- Author:
- pcingola
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringheatMapColor(double value, double maxValue, double minValue, int rgbMaxValue, int rgbMinValue) Create a color (heat-map) based in a value and maximum possible valuestatic StringheatMapColor(long value, long maxValue, long minValue, int rgbMaxValue, int rgbMinValue) Create a color (heat-map) based in a value and maximum possible value
-
Constructor Details
-
GprHtml
public GprHtml()
-
-
Method Details
-
heatMapColor
public static 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 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:
-