The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
Generalized PCA for non-normally distributed data. If you find this useful please cite Feature Selection and Dimension Reduction based on a Multinomial Model. (doi:10.1186/s13059-019-1861-6)
A python implementation is also available.
The glmpca package is available from CRAN. To install the stable release (recommended):
install.packages("glmpca")
To install the development version:
::install_github("willtownes/glmpca") remotes
library(glmpca)
#create a simple dataset with two clusters
<-rep(c(.5,3),each=10)
mu<-matrix(exp(rnorm(100*20)),nrow=100)
mu1:10]<-mu[,1:10]*exp(rnorm(100))
mu[,<-rep(c("red","black"),each=10)
clust<-matrix(rpois(prod(dim(mu)),mu),nrow=nrow(mu))
Y
#visualize the latent structure
<-glmpca(Y, 2)
res<-res$factors
factorsplot(factors[,1],factors[,2],col=clust,pch=19)
For more details see the vignettes. For compatibility with Bioconductor, see scry. For compatibility with Seurat objects, see Seurat-wrappers.
Please use https://github.com/willtownes/glmpca/issues to submit issues, bug reports, and comments.
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.