fastTopics: Fast Algorithms for Fitting Topic Models and Non-Negative Matrix Factorizations to Count Data

Implements fast, scalable optimization algorithms for fitting topic models ("grade of membership" models) and non-negative matrix factorizations to count data. The methods exploit the special relationship between the multinomial topic model (also, "probabilistic latent semantic indexing") and Poisson non-negative matrix factorization. The package provides tools to compare, annotate and visualize model fits, including functions to efficiently create "structure plots" and identify key features in topics. The 'fastTopics' package is a successor to the 'CountClust' package. Note that the 'fastTopicis' package on GitHub has more vignettes illustrating application to single-cell RNA-seq data.

Version: 0.6-163
Depends: R (≥ 3.3.0)
Imports: graphics, utils, methods, stats, Matrix, gtools, quadprog, irlba, dplyr, Rtsne, uwot, ashr, Rcpp (≥ 1.0.1), RcppParallel (≥ 4.4.1), parallel, progress, pbapply, ggplot2 (≥ 3.3.0), ggrepel (≥ 0.9.0), cowplot, plotly, htmlwidgets
LinkingTo: Rcpp, RcppParallel, RcppArmadillo
Suggests: NNLM, Ternary, testthat, knitr, rmarkdown, RhpcBLASctl
Published: 2024-01-15
Author: Peter Carbonetto [aut, cre], Kevin Luo [aut], Kushal Dey [aut], Joyce Hsiao [ctb], Abhishek Sarkar [ctb], Anthony Hung [ctb], Xihui Lin [ctb], Paul C. Boutros [ctb], Minzhe Wang [ctb], Tracy Ke [ctb], Matthew Stephens [aut]
Maintainer: Peter Carbonetto <peter.carbonetto at gmail.com>
BugReports: https://github.com/stephenslab/fastTopics/issues
License: BSD_2_clause + file LICENSE
Copyright: inst/COPYRIGHTS
fastTopics copyright details
URL: https://github.com/stephenslab/fastTopics
NeedsCompilation: yes
SystemRequirements: GNU make
Additional_repositories: https://stephenslab.github.io/nnlm-drat
Citation: fastTopics citation info
Materials: README
CRAN checks: fastTopics results

Documentation:

Reference manual: fastTopics.pdf
Vignettes: Relationship between NMF and topic modeling
Topic modeling vs. clustering

Downloads:

Package source: fastTopics_0.6-163.tar.gz
Windows binaries: r-devel: fastTopics_0.6-163.zip, r-release: fastTopics_0.6-163.zip, r-oldrel: fastTopics_0.6-163.zip
macOS binaries: r-release (arm64): fastTopics_0.6-142.tgz, r-oldrel (arm64): fastTopics_0.6-163.tgz, r-release (x86_64): fastTopics_0.6-163.tgz
Old sources: fastTopics archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=fastTopics to link to this page.