Hello, I am currently running "dep" package for my mass spectrometry data. Now I have the issue with generating heatmap
plot_heatmap(dep, type = "centered", kmeans = TRUE, + k = 6, col_limit = 4, show_row_names = FALSE, + indicate = c("condition", "replicate"),plot=TRUE) Error in names(cols) <- var : 'names' attribute  must be the same length as the vector 
I have used the same data for generating pca plot and correlation plot, both were generated without any error. It would be a great help, if someone could point out me my mistake.
Many thanks in advance