D3heatmap package error

When I put in a matrix M that measures 634 by 2022, d3heatmap (M) spits out an error that reads:

all (vapply (s, is.integer, NA)) is not TRUE

I debugged it and it resulted in this line:

debug: colClust <- as.hclust (hm $ Colv)

Why is this? The matrix I am passing is numeric.

+3
r heatmap


source to share


No one has answered this question yet

See similar questions:

3
Error retrieving dendrogram from heat map

or similar:

444
How to unload a package without restarting R
3
R to install the package at startup
3
Error retrieving dendrogram from heat map
0
NumericMatrix: why can I index its sizes without errors?
0
Matrix inversion of R using solution and others (error 'a' must be a complex matrix)
0
dplyr and "is.data.frame (df) is invalid" error
0
Demo code for Tawny package with error
0
Error in metasem, tssem2, "operations are only possible for numeric, boolean or complex types"
0
Heatmap return error: "x" must be a numeric matrix, but x is a numeric matrix
0
Error when using function heatmap.2



All Articles
Loading...
X
Show
Funny
Dev
Pics