This page contains the R codes for the manuscript, “Investigating microbial co-occurrence patterns based on meta-genomic compositional data” by Ban, An, and Jiang (2015).

 

(1)  Three different models can be used to simulate metagenomic data: REBACCA_simulation_model.R

 

(2)  Compute the microbial co-occurrence patterns:

REBACCA_main.R

 

 

This file REBACCA_example.R shows an example on how to use the above functions.