Need help solving: error in heatmap(cell_cycle_m) : 'x' must be a numeric matrix
0
0
Entering edit mode
2.1 years ago

I try to do a heatmap but I don't understand the error because I convert my dataframe in a matrix and also because all the data inside the dataframe are numeric, can someone help me?

enter image description here

cell_cycle_m <- as.matrix(cell_cycle_m)

heatmap(cell_cycle_m) Error in heatmap(cell_cycle_m) : 'x' must be a numeric matrix

Heatmap • 686 views
ADD COMMENT
0
Entering edit mode

What is the heatmap supposed to show? Columns 1-2 are not numeric but character.

ADD REPLY
0
Entering edit mode

Ok thank you

ADD REPLY

Login before adding your answer.

Traffic: 2190 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6