Skip to content

Commit

Permalink
Fixed one of the structure plots in newsgroups_more analysis.
Browse files Browse the repository at this point in the history
  • Loading branch information
pcarbo committed Aug 10, 2024
1 parent 1716ea3 commit d305149
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 5 deletions.
Binary file modified docs/figure/newsgroups_more.Rmd/structure-plot-cd-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
66 changes: 61 additions & 5 deletions docs/newsgroups_more.html
Original file line number Diff line number Diff line change
Expand Up @@ -433,15 +433,15 @@ <h4 class="author">Peter Carbonetto</h4>
<div class="panel panel-default">
<div class="panel-heading">
<p class="panel-title">
<a data-toggle="collapse" data-parent="#workflowr-checks" href="#strongRepositoryversionstrongahrefhttpsgithubcomstephenslabfastTopicsexperimentstree7f54463ce2a502abd6827e2c2726eed94cd06c74targetblank7f54463a">
<a data-toggle="collapse" data-parent="#workflowr-checks" href="#strongRepositoryversionstrongahrefhttpsgithubcomstephenslabfastTopicsexperimentstree1716ea38accf6cbb8fdaa01efc3e3b52623f69e3targetblank1716ea3a">
<span class="glyphicon glyphicon-ok text-success"
aria-hidden="true"></span> <strong>Repository version:</strong>
<a href="https://github.com/stephenslab/fastTopics-experiments/tree/7f54463ce2a502abd6827e2c2726eed94cd06c74" target="_blank">7f54463</a>
<a href="https://github.com/stephenslab/fastTopics-experiments/tree/1716ea38accf6cbb8fdaa01efc3e3b52623f69e3" target="_blank">1716ea3</a>
</a>
</p>
</div>
<div
id="strongRepositoryversionstrongahrefhttpsgithubcomstephenslabfastTopicsexperimentstree7f54463ce2a502abd6827e2c2726eed94cd06c74targetblank7f54463a"
id="strongRepositoryversionstrongahrefhttpsgithubcomstephenslabfastTopicsexperimentstree1716ea38accf6cbb8fdaa01efc3e3b52623f69e3targetblank1716ea3a"
class="panel-collapse collapse">
<div class="panel-body">
<p>
Expand All @@ -451,7 +451,7 @@ <h4 class="author">Peter Carbonetto</h4>
</p>
<p>
The results in this page were generated with repository version
<a href="https://github.com/stephenslab/fastTopics-experiments/tree/7f54463ce2a502abd6827e2c2726eed94cd06c74" target="_blank">7f54463</a>.
<a href="https://github.com/stephenslab/fastTopics-experiments/tree/1716ea38accf6cbb8fdaa01efc3e3b52623f69e3" target="_blank">1716ea3</a>.
See the <em>Past versions</em> tab to see a history of the changes made
to the R Markdown and HTML files.
</p>
Expand Down Expand Up @@ -538,6 +538,40 @@ <h4 class="author">Peter Carbonetto</h4>
Rmd
</td>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/1716ea38accf6cbb8fdaa01efc3e3b52623f69e3/analysis/newsgroups_more.Rmd" target="_blank">1716ea3</a>
</td>
<td>
Peter Carbonetto
</td>
<td>
2024-08-10
</td>
<td>
workflowr::wflow_publish("newsgroups_more.Rmd", verbose = TRUE)
</td>
</tr>
<tr>
<td>
html
</td>
<td>
<a href="https://rawcdn.githack.com/stephenslab/fastTopics-experiments/2b1b3d5171792963d78a06f627559b46e732403c/docs/newsgroups_more.html" target="_blank">2b1b3d5</a>
</td>
<td>
Peter Carbonetto
</td>
<td>
2024-08-10
</td>
<td>
Switching to MLEs in newsgroups_more.
</td>
</tr>
<tr>
<td>
Rmd
</td>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/7f54463ce2a502abd6827e2c2726eed94cd06c74/analysis/newsgroups_more.Rmd" target="_blank">7f54463</a>
</td>
<td>
Expand Down Expand Up @@ -761,6 +795,17 @@ <h4 class="author">Peter Carbonetto</h4>
<tbody>
<tr>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/2b1b3d5171792963d78a06f627559b46e732403c/docs/figure/newsgroups_more.Rmd/structure-plot-em-1.png" target="_blank">2b1b3d5</a>
</td>
<td>
Peter Carbonetto
</td>
<td>
2024-08-10
</td>
</tr>
<tr>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/f79da59cebfbbbfe09deb3407f374083529a3470/docs/figure/newsgroups_more.Rmd/structure-plot-em-1.png" target="_blank">f79da59</a>
</td>
<td>
Expand All @@ -775,7 +820,7 @@ <h4 class="author">Peter Carbonetto</h4>
</div>
</div>
<p>And here are the CD estimates:</p>
<pre class="r"><code>L2 &lt;- select_loadings(fit1,rows)$L
<pre class="r"><code>L2 &lt;- select_loadings(fit2,rows)$L
p2 &lt;- structure_plot(L2,topics = 1:10,grouping = topics[rows],
colors = topic_colors,gap = 20) +
ggtitle(&quot;CD with extrapolation&quot;) +
Expand Down Expand Up @@ -806,6 +851,17 @@ <h4 class="author">Peter Carbonetto</h4>
<tbody>
<tr>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/2b1b3d5171792963d78a06f627559b46e732403c/docs/figure/newsgroups_more.Rmd/structure-plot-cd-1.png" target="_blank">2b1b3d5</a>
</td>
<td>
Peter Carbonetto
</td>
<td>
2024-08-10
</td>
</tr>
<tr>
<td>
<a href="https://github.com/stephenslab/fastTopics-experiments/blob/f79da59cebfbbbfe09deb3407f374083529a3470/docs/figure/newsgroups_more.Rmd/structure-plot-cd-1.png" target="_blank">f79da59</a>
</td>
<td>
Expand Down

0 comments on commit d305149

Please sign in to comment.