R package for RefTM. Stochastic variational inference method is used to fit LDA models.
install.packages("devtools")
devtools::install_github("cuhklinlab/RefTM")
This package includes following main functions:
RefTMruns RefTM for the analysis of single-cell chromatin accessibility sequencing data.RefTM_postprocesspostprocess the result to obtain a final cell-by-topic matrix as the output of RefTM.RefTM_motifruns motif enrichment based on the output of RefTM.
Please check the vigenette for a detailed tutorial.