JEFworks / MUDAN

Multi-sample Unified Discriminant ANalysis
http://jef.works/MUDAN/
GNU General Public License v3.0
72 stars 12 forks source link

Documentation error #5

Open lvlahos343 opened 5 years ago

lvlahos343 commented 5 years ago

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.