jaccard.mean | R Documentation |
This function computes the expected value of the Jaccard distance matrix over rarefaction replicates.
jaccard.mean(
otu.table,
rarefy.depth = min(rowSums(otu.table)),
first.order.approx.only = FALSE
)
otu.table |
the |
rarefy.depth |
rarefaction depth. The default is the minimum library size observed in the OTU table. |
first.order.approx.only |
a logical value indicating whether to calculate the expected value using the first order approixmation by the delta method. The default is FALSE, using the second order approixmation. |
a list consisting of
jac.mean.o1 |
Expected Jaccard distance matrix by the first order approixmation. |
jac.mean.o2 |
Expected Jaccard distance matrix by the second order approixmation. |
jac.mean.sq.o1 |
Expected squared Jaccard distance matrix by the first order approixmation. |
jac.mean.sq.o2 |
Expected squared Jaccard distance matrix by the second order approixmation. |
Yi-Juan Hu <yijuan.hu@emory.edu>, Glen A. Satten <gsatten@emory.edu>
res.jaccard <- jaccard.mean( throat.otu.tab5 )
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.