jefworks / mudan Goto Github PK
View Code? Open in Web Editor NEWMulti-sample Unified Discriminant ANalysis
Home Page: http://jef.works/MUDAN/
License: GNU General Public License v3.0
Multi-sample Unified Discriminant ANalysis
Home Page: http://jef.works/MUDAN/
License: GNU General Public License v3.0
Hi,
I was wondering that why the PC calculation for the expression matrix in the MUDAN is
a <- irlba::irlba(crossprod(m)/(nrow(m)-1), nu=0, nv=nPcs, tol=tol, ...)
a$l <- m %*% a$v
m <- t(a$l)
If I understand right, in the Pagoda2 or the Seurat setting, the PC calculation is just a SVD decomposition on the expression matrix using irlba package to get the U matrix.
What is the difference between MUDAN's PCs and others and is there any idea in that ?
Thanks for let me know.
Yao
Hi,
I'm recently following this tutorial to get familiar with the functions in the MUDAN package.
However the embeddings from Rtsne:: Rtsne could not be reproduced very well: if it is run respectively at two time points, the number of the clusters is consistent but the shape and/or the locations of the clusters/cells might be different. It might make the tutorial a little bit confusing, especially for the learners.
To address this and to make the results more 'reproducible', adding 'set.seed()' might be an efficient way. (e.g., https://satijalab.org/seurat/v3.1/interaction_vignette.html) In this case, the coordinates of each cell will be constant between different sessions.
Thanks,
JY
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.