Documentation error
Opened this issue · 0 comments
lvlahos343 commented
I have a matrix of data (dat.mat) with features in rows and cells in columns. Per the documentation for the getComMembership
function, clustering this matrix should give labels over the cells. However, in order to actually cluster the cells, the matrix must be transposed, as shown below:
res <- MUDAN::getComMembership(t(dat.mat), k = k, method = igraph::cluster_infomap, verbose = FALSE)
This seems to indicate that the documentation is incorrect. getComMembership
takes a matrix with samples in rows rather than columns.