ratio_shared_interactions: ratio_shared_interactions

View source: R/significance_pipeline.R

ratio_shared_interactionsR Documentation

ratio_shared_interactions

Description

Finds the Jaccard index of number of shared interactions between the similarity measures

Usage

ratio_shared_interactions(similarity_measures_significance)

Arguments

similarity_measures_significance

A list objects of the class interaction_table

Value

A matrix showing the Jaccard indecies of the number of significant interactions. Measures with no significant interactions are ignored.

Examples

library(micInt)
data("seawater")
sim.scores <- similarity_measures(subset= c("spearman","pearson"))
res <- runAnalysis(OTU_table = seawater,sim.scores = sim.scores,
iterations = 100,parallel = FALSE)
int_tables <- res$similarity_measures_significance
ratio_shared_interactions(int_tables)

AlmaasLab/micInt documentation built on April 1, 2022, 10:37 a.m.