Thank you for this awesome package. While trying to create a pretty heatmap with annotations, I faced the error
Error in cut.default(a, breaks = 100) : 'x' must be numeric
However, digging into the issue, I noticed that the error was in fact because I was using a tibble instead of a data.frame for the annotation_col argument. A reprex follows below
Hello there,
Thank you for this awesome package. While trying to create a pretty heatmap with annotations, I faced the error
However, digging into the issue, I noticed that the error was in fact because I was using a
tibble
instead of adata.frame
for theannotation_col
argument. A reprex follows belowThe above works as expected. However the following fails with the above error
I think it may be more useful in such a case to specify that we expect a
data.frame
object. I am usingpheatmap
1.0.12Thank you,
NelsonGon