Open alkaZeltser opened 5 months ago
@alkaZeltser I didn't see your issue, but I posted a similar issue recently with a potential solution #181
@alkaZeltser I didn't see your issue, but I posted a similar issue recently with a potential solution #181
Yeah I guess I already mentioned this workaround above, which is to replace NAs explicitly with colors. It's just unfortunate because the entire point of the fill.colour parameter is to generalize away this extra step.
I'm working with
create.heatmap
and encountering odd behavior when dealing with NA values and single-row heatmaps. The weirdest thing is that the NA missing values seem to be contaminating adjacent cells in certain cases.I will have to resort to manually replacing NA with a pre-defined color as opposed to using the
fill.colour
option, which is kind of a waste of a nice feature.For example:
Ex1:
Ex2:
Ex3: