cal_sim | R Documentation |
Calculate similarity for one t(otutab)
cal_sim(totu, totu2 = NULL, method = "bray")
totu |
t(otutab), row are samples, column are features. |
totu2 |
t(otutab) or NULL, row are samples, column are features. |
method |
Dissimilarity index, see |
similarity = 1-distance
vegdist
Other calculate:
c_net_calculate()
,
fast_cor()
,
p.adjust.table()
,
read_corr()
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.