Using facet_wrap instead of fract_grid to regulate layout; Add the parameter to indicate the numbe rof rows wanted; Add the parameter to position legend; Add <scale="free" to correct a bug> FOR <heatmapM.sh>