cal_sim | R Documentation |
Calculate similarity for one t(otutab)
cal_sim(totu, method = "bray", norm = FALSE)
totu |
t(otutab), row are samples, column are features. |
method |
Dissimilarity index, see |
norm |
hellinger normalization in features (default: FALSE). |
similarity = 1-distance
vegdist
Other calculate:
c_net_calculate()
,
fast_cor()
,
input_corr()
,
p.adjust.table()
if (requireNamespace("vegan")) {
data("otutab", package = "pcutils")
t(otutab) -> totu
cal_sim(totu) -> sim_corr
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.