You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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.The text was updated successfully, but these errors were encountered: