countInteractions | R Documentation |
Counts the number of interactions for each OTU
countInteractions(IDs, interactions_table)
IDs |
Character vector, the name name of each OTU |
interactions_table |
An |
A named numeric vector showing the number of interactions for each OTU in the IDs argument
#' @examples library(micInt) data("seawater") sim.scores <- similarity_measures(subset= c("spearman","pearson")) res <- runAnalysis(OTU_table = seawater,sim.scores = sim.scores,parallel = FALSE) int_table <- create_interaction_table(res[[1]]$ccrepe_res) countInteractons(c("OTU_1","OTU_2","OTU_18"),int_table)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.