Description Usage Arguments Value Examples
Function for 'tina' dissimilarity calculation. Modified from Schmidt et al., 2016. Person and Spearman could be used for correlation and weighted and unweighted Jaccard could be used for similarity calculation.
1 2 3 4 5 6 7 8 9 |
x |
A matrix for dissimilarity calculation. |
cor_method |
The method for correlation, "pearson" and "spearman" are available. |
sim_method |
The method for similarity, "w_ja" and "uw_ja" are available for weighted and unweighted Jaccard similarity respectively. |
threads |
The number of threads used for parallel running, 80 by default. |
nblocks |
The number of row and column for splitted sub-matrix, 400 by default. |
... |
Additional parameters. |
t The output 'tina' dissimilarity matrix.
1 2 3 4 5 6 7 8 | ## Not run:
asv_norm <- norm_tab(maize_asv2, method = "raref", depth = 1000)
asv_dis <- com_dis(asv_norm, method = "bray")
asv_dis <- com_dis(asv_norm, method = "tina", threads = 8, nblocks = 40)
asv_tina <- tina(asv_norm, cor_method = "spearman", sim_method = "w_ja",
threads = 8, nblocks = 40)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.