Skip to content

Commit f157a8a

Browse files
committed
wis
1 parent ecdefde commit f157a8a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+57777
-3203
lines changed

Atlas.html

Lines changed: 1642 additions & 45 deletions
Large diffs are not rendered by default.

Betadiversity.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ df <- meta(pseq) %>% arrange(time)
121121
beta <- c() # Baseline similarity
122122
s0 <- subset(df, time == 0)$sample
123123
# Let us transform to relative abundance for Bray-Curtis calculations
124-
a <- abundances(transform(pseq, "compositional"))
124+
a <-microbiome::abundances(microbiome::transform(pseq, "compositional"))
125125
for (tp in df$time[-1]) {
126126
# Pick the samples for this subject
127127
# If the same time point has more than one sample,

Betadiversity.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

Bimodality.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ For examples on tipping point detection, see
9595
[Stability](Stability). We set the tipping point manually in the
9696
following example.
9797

98-
```{r stability-variationplot, message=FALSE, warning=FALSE, fig.show='hold', out.width="430px"}
98+
```{r stability-variationplot, message=FALSE, warning=FALSE, fig.show='hold', out.width="430px", eval=FALSE}
9999
# Bimodality hotplot:
100100
# Consider a unique sample from each subject: the baseline time point
101101
p <- hotplot(pseq0, tax, tipping.point = 0.005)

Bimodality.html

Lines changed: 1687 additions & 85 deletions
Large diffs are not rendered by default.

Clustering.html

Lines changed: 1672 additions & 75 deletions
Large diffs are not rendered by default.

Comparisons.html

Lines changed: 1556 additions & 43 deletions
Large diffs are not rendered by default.

Composition.html

Lines changed: 18 additions & 17 deletions
Large diffs are not rendered by default.

CompositionAmplicondata.html

Lines changed: 48 additions & 48 deletions
Large diffs are not rendered by default.

CompositionAmplicondata2.html

Lines changed: 1765 additions & 162 deletions
Large diffs are not rendered by default.

Contributing.html

Lines changed: 1558 additions & 44 deletions
Large diffs are not rendered by default.

Core.html

Lines changed: 1806 additions & 229 deletions
Large diffs are not rendered by default.

CoremicrobiotaAmplicon.html

Lines changed: 1790 additions & 191 deletions
Large diffs are not rendered by default.

DMM.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,8 @@ bic <- sapply(fit, BIC) # AIC / BIC / Laplace
7676

7777
Pick the optimal model
7878

79-
```{r DMM3, fig.width=6, fig.height=5, warning=FALSE, message=FALSE, eval=TRUE}
80-
best <- fit[[which.min(lplc)]]
79+
```{r DMM3, fig.width=6, fig.height=5, warning=FALSE, message=FALSE,error=FALSE, eval=FALSE}
80+
best <- fit[[which.min(unlist(lplc))]]
8181
```
8282

8383
Mixture parameters pi and theta

DMM.html

Lines changed: 1688 additions & 93 deletions
Large diffs are not rendered by default.

DOC.html

Lines changed: 1657 additions & 60 deletions
Large diffs are not rendered by default.

Data.html

Lines changed: 1662 additions & 57 deletions
Large diffs are not rendered by default.

Diversity.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pseq <- dietswap
4141
A comprehensive list of global indicators of the ecosystem state can be obtained as follows. This includes various measures of richness, evenness, diversity, dominance, and rarity with default parameters. See the individual functions for more options regarding parameter tuning.
4242

4343
```{r alpha, warning=FALSE, message=FALSE, fig.height=3, fig.width=5, results="asis"}
44-
tab <- alpha(pseq, index = "all")
44+
tab <-microbiome::alpha(pseq, index = "all")
4545
kable(head(tab))
4646
```
4747

@@ -51,7 +51,7 @@ kable(head(tab))
5151
This returns a table with selected diversity indicators. See a separate page on [Beta diversity](Betadiversity.html).
5252

5353
```{r alpha2, warning=FALSE, message=FALSE, fig.height=3, fig.width=5, results="asis"}
54-
tab <- alpha(pseq, index = "all")
54+
tab <-microbiome::alpha(pseq, index = "all")
5555
kable(head(tab))
5656
```
5757

Diversity.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@
99
<meta http-equiv="X-UA-Compatible" content="IE=EDGE" />
1010

1111

12-
<meta name="author" content="Leo Lahti, Sudarshan Shetty et al. 2020-05-25" />
12+
<meta name="author" content="Leo Lahti, Sudarshan Shetty et al. 2020-06-12" />
1313

14-
<meta name="date" content="2020-05-25" />
14+
<meta name="date" content="2020-06-12" />
1515

1616
<title>Diversity</title>
1717

@@ -1912,8 +1912,8 @@
19121912

19131913

19141914
<h1 class="title toc-ignore">Diversity</h1>
1915-
<p class="author-name">Leo Lahti, Sudarshan Shetty et al. 2020-05-25</p>
1916-
<h4 class="date">25 May 2020</h4>
1915+
<p class="author-name">Leo Lahti, Sudarshan Shetty et al. 2020-06-12</p>
1916+
<h4 class="date">12 June 2020</h4>
19171917

19181918
</div>
19191919

@@ -1935,7 +1935,7 @@ <h2>Global Ecosystem State Variables</h2>
19351935
<div id="global-indicators" class="section level2">
19361936
<h2>Global indicators</h2>
19371937
<p>A comprehensive list of global indicators of the ecosystem state can be obtained as follows. This includes various measures of richness, evenness, diversity, dominance, and rarity with default parameters. See the individual functions for more options regarding parameter tuning.</p>
1938-
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb2-1" title="1">tab &lt;-<span class="st"> </span><span class="kw">alpha</span>(pseq, <span class="dt">index =</span> <span class="st">&quot;all&quot;</span>)</a>
1938+
<div class="sourceCode" id="cb2"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb2-1" title="1">tab &lt;-microbiome<span class="op">::</span><span class="kw">alpha</span>(pseq, <span class="dt">index =</span> <span class="st">&quot;all&quot;</span>)</a>
19391939
<a class="sourceLine" id="cb2-2" title="2"><span class="kw">kable</span>(<span class="kw">head</span>(tab))</a></code></pre></div>
19401940
<div class='horizontal-scroll'><table>
19411941
<thead>
@@ -2122,7 +2122,7 @@ <h2>Global indicators</h2>
21222122
<div id="alpha-diversity" class="section level2">
21232123
<h2>Alpha diversity</h2>
21242124
<p>This returns a table with selected diversity indicators. See a separate page on <a href="Betadiversity.html">Beta diversity</a>.</p>
2125-
<div class="sourceCode" id="cb3"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb3-1" title="1">tab &lt;-<span class="st"> </span><span class="kw">alpha</span>(pseq, <span class="dt">index =</span> <span class="st">&quot;all&quot;</span>)</a>
2125+
<div class="sourceCode" id="cb3"><pre class="sourceCode r"><code class="sourceCode r"><a class="sourceLine" id="cb3-1" title="1">tab &lt;-microbiome<span class="op">::</span><span class="kw">alpha</span>(pseq, <span class="dt">index =</span> <span class="st">&quot;all&quot;</span>)</a>
21262126
<a class="sourceLine" id="cb3-2" title="2"><span class="kw">kable</span>(<span class="kw">head</span>(tab))</a></code></pre></div>
21272127
<div class='horizontal-scroll'><table>
21282128
<thead>

Heatmap.html

Lines changed: 1741 additions & 143 deletions
Large diffs are not rendered by default.

Installation.html

Lines changed: 1659 additions & 58 deletions
Large diffs are not rendered by default.

Interactive.html

Lines changed: 1667 additions & 70 deletions
Large diffs are not rendered by default.

Landscaping.html

Lines changed: 1704 additions & 107 deletions
Large diffs are not rendered by default.

Mixedmodels.html

Lines changed: 1661 additions & 64 deletions
Large diffs are not rendered by default.

Negativebinomial.html

Lines changed: 1659 additions & 62 deletions
Large diffs are not rendered by default.

Networks.html

Lines changed: 1693 additions & 92 deletions
Large diffs are not rendered by default.

Ordination.html

Lines changed: 1696 additions & 99 deletions
Large diffs are not rendered by default.

Output.html

Lines changed: 1647 additions & 49 deletions
Large diffs are not rendered by default.

PERMANOVA.html

Lines changed: 1675 additions & 76 deletions
Large diffs are not rendered by default.

PlotDiversity.html

Lines changed: 1666 additions & 69 deletions
Large diffs are not rendered by default.

Preprocessing.html

Lines changed: 1738 additions & 135 deletions
Large diffs are not rendered by default.

RDA.html

Lines changed: 1676 additions & 74 deletions
Large diffs are not rendered by default.

Regression.html

Lines changed: 1640 additions & 42 deletions
Large diffs are not rendered by default.

Stability.html

Lines changed: 1711 additions & 106 deletions
Large diffs are not rendered by default.

Themes.html

Lines changed: 1712 additions & 116 deletions
Large diffs are not rendered by default.

Tutorial.html

Lines changed: 1676 additions & 81 deletions
Large diffs are not rendered by default.

Visualization.html

Lines changed: 1637 additions & 40 deletions
Large diffs are not rendered by default.

all.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ Long tails of rare taxa:
327327
```{r tail, warning=FALSE, message=print, fig.width=16, fig.height=8, out.width="200px"}
328328
medians <- apply(abundances(d),1,median)/1e3
329329
library(reshape2)
330-
A <- melt(abundances(d))
331-
A$Var1 <- factor(A$Var1, levels = rev(names(sort(medians))))
330+
A <- melt(microbiome::abundances(d))
331+
A$Var1 <- factor(A$X1, levels = rev(names(sort(medians))))
332332
p <- ggplot(A, aes(x = Var1, y = value)) +
333333
geom_boxplot() +
334334
labs(y = "Abundance (reads)", x = "Taxonomic Group") +

all.html

Lines changed: 1871 additions & 244 deletions
Large diffs are not rendered by default.

deseq2.html

Lines changed: 1684 additions & 87 deletions
Large diffs are not rendered by default.

figure/pooled3-1.png

-21.4 KB

figure/pooled_overdispersion-1.png

-17.3 KB

figure/pooled_pcomp-1.png

-21.4 KB

figure/tail-1.png

-25.1 KB

figure/univariate5-1.png

-19.3 KB

figure/univariate6-1.png

-62.9 KB

figure/univariate_boxplot-1.png

-30.6 KB

figure/univariate_densityplot-1.png

-13.8 KB

index.html

Lines changed: 1559 additions & 45 deletions
Large diffs are not rendered by default.

limma.html

Lines changed: 1713 additions & 114 deletions
Large diffs are not rendered by default.

misc.html

Lines changed: 465 additions & 0 deletions
Large diffs are not rendered by default.

rstanarm.html

Lines changed: 1656 additions & 59 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)