bi_cor_net | R Documentation |
Perform bipartite/two-mode correlation network analysis.
bi_cor_net(co_mat, thres = 0.6, dn = NULL)
co_mat |
a correlation coefficient matrix. |
thres |
correlation coefficient threshold for network analysis. |
dn |
a character string for correlation name. |
a list of ggplot2
plots.
data <- mtExtra:::data
meta <- mtExtra:::meta
## Not run:
## process meta
library(mt)
meta <- mv_filter(meta, thres = 0.3)$dat
meta <- mv.fill(meta, method = "mean")
meta <- preproc(meta, method = "auto")
## End(Not run)
co <- cor(meta, data, use = "pairwise.complete.obs")
heat_dend(co)
res <- bi_cor_net(co, thres = 0.2)
names(res)
res$net1
res$dend2
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.