Hierarchical clustering now possible by row and/or columns

This change only applies to the R-script. Boolean parameters still need
to be forwarded to the R-scripts from the UI.

In addition. Reversed removal of legend/colorbar for only one subset.
This caused 'ugly' plot results for hierarchical heatmap.
UAT-201 Scaling and data groups mismatch caused error

This was due to the group values being loaded as factors, whereas they
should be matched (or not have a match) at string level.