Upon reviewing the source code, I found that the error occurred in the get_label function within the Marker_heatmap() function. This function is supposed to calculate the cell type corresponding to the maximum value in the current row. However, in my data, the maximum value in the fifth row corresponds to two cell types, which led to the final error. How should I resolve this situation? Here is the error information:
Hi, Recently, I encountered the following error while using the
Marker_heatmap
function to plot:Here is the code I used to run it:
Upon reviewing the source code, I found that the error occurred in the
get_label
function within the Marker_heatmap() function. This function is supposed to calculate the cell type corresponding to the maximum value in the current row. However, in my data, the maximum value in the fifth row corresponds to two cell types, which led to the final error. How should I resolve this situation? Here is the error information:Looking forward to your reply.