-
Notifications
You must be signed in to change notification settings - Fork 3
/
README.Rmd
58 lines (41 loc) · 1.71 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/",
out.width = "100%"
)
```
# alto
<!-- badges: start -->
<!-- badges: end -->
[`alto`](https://lasy.github.io/alto/index.html) for aligning topics across a collection of LDA models. It provides functions to support the most common tasks in the analysis workflow,
* `run_lda_models()` fits a collection of LDA models across resolution levels
* `align_topics()` aligns topics across a collection of LDA models
* `topics()` provides metrics of alignment quality
* `plot()` shows the flow of alignment weight across resolution levels
* `plot_beta()` shows the topics associated with each underlying model
Alignment can be used for (multiresolution) exploratory analysis.
By highlighting topics that are robust across choices of K, it can also support evaluation of LDA models.
<figure>
<img src="man/figures/README-alignment-viz-2.png" width="75%"/>
<figcaption>The figure above shows an example alignment between topic models. See the vignette "Using `alto` on vaginal microbiome data" to reproduce this figure.</figcaption>
</figure>
## Installation
<!-- You can install the released version of alto from [CRAN](https://CRAN.R-project.org) with: -->
<!-- ``` r -->
<!-- install.packages("alto") -->
<!-- ``` -->
<!-- And -->
You can install the development version from [GitHub](https://github.com/) with:
``` r
# install.packages("devtools")
devtools::install_github("lasy/alto")
```
## Help
We welcome questions and comments about the package either through
[github](https://github.com/lasy/alto/issues) or email.