adding flag for grouped or not
flag for grouped heatmaps