Hi,
I am trying to plot a heatmap with some data as shown in the image below.

x and y are the grouping variables and d, a are the coloring variables.
I only see the effect of one coloring variable at a time.
Is it possible to have each cell of the above plot (vertically/horizontally)
divided into two where one cell refers to colors based on d and other based on a?
Is there any other solution that I can use to achieve this? The format of the plot
must remain the same, meaning it should have x and y variables varying as shown
in the above image.
Thanks a lot for your inputs!