Home
News
Feed
search engine
by
freefind
advanced
Custom Heatmap Code 3-25-12
2015-01-13
azim58 - Custom Heatmap Code 3-25-12 Instructions for Heatmap program In order to use this HeatmapCreator code just put the HeatmapCreator, UsefulTools, and Expression class into Eclipse. Then save the rectangle_svg.txt, first_part_java_svg_heatmap.txt ("C:\Users\kurtw_000\Documents\kurt\storage\CIM Research Folder\DR\2014\01-19-2014d1132\01-19-2014d1201\first_part_java_svg_heatmap.txt"), and last_part_java_svg_heatmap.txt ("C:\Users\kurtw_000\Documents\kurt\storage\CIM Research Folder\DR\2014\01-23-2014d2247\01-23-2014d2247\last_part_java_svg_heatmap.txt") into a directory that you are aware of. Then just change a few lines of code in the HeatmapCreator code so that the appropriate strings get their data from these files in the correct directory. Also change where the output file at the end is saved to so that you know where it is. Then create your tab delimited data.txt file, make sure the code in the HeatmapCreator code gets this file in the correct place and run the program. When you are done, the outputted heatmap can be opened up in Inkscape or a web browser. Code and files can be found here: L:\storage\CIM Research Folder\DR\2012\5-8-12 dot 1735\htmp cr8tr Code to put labels on heatmap here "L:\storage\CIM Research Folder\DR\2012\5-10-12\put labels on heatmap.txt" This folder contains Text for Java classes for Eclipse Supporting files for the program Example data file to play with Example output heatmap svg file A useful color bar to put onto diagrams as a key. Some color palettes. See Information about colors in a heatmap for more information about colors in a heatmap. =========================================================================== How to rearrange a list of instances from their original positions to their clustered positions
azim58wiki: