You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+23-11Lines changed: 23 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,10 @@
1
1
# BEEM
2
-
BEEM is an approach to infer models for microbial community dynamics based on metagenomic sequencing data (16S or shotgun-metagenomics). It is based on the commonly used [generalized Lotka-Volterra modelling](https://en.wikipedia.org/wiki/Generalized_Lotka–Volterra_equation) (gLVM) framework. BEEM uses an iterative EM-like algorithm to simultaneously infer scaling factors (microbial biomass) and model parameters (microbial growth rate and interaction terms) and can thus work directly with the relative abundance values that are obtained with metagenomic sequencing. A preprint describing this work will be posted on bioRxiv soon.
3
2
4
-
Note: BEEM stands for **B**iomass **E**stimation and model inference with an **E**xpectation **M**aximization-like algorithm.
3
+
<imgsrc="logo.png"height="200"align="right" />
4
+
5
+
BEEM is an approach to infer models for microbial community dynamics based on metagenomic sequencing data (16S or shotgun-metagenomics). It is based on the commonly used [generalized Lotka-Volterra modelling](https://en.wikipedia.org/wiki/Generalized_Lotka–Volterra_equation) (gLVM) framework. BEEM uses an iterative EM-like algorithm to simultaneously infer scaling factors (microbial biomass) and model parameters (microbial growth rate and interaction terms) from **longitudinal** data and can thus work directly with the relative abundance values that are obtained with metagenomic sequencing.
6
+
7
+
Note: BEEM stands for **B**iomass **E**stimation and model inference with an **E**xpectation **M**aximization-like algorithm. We have now extended the BEEM framework to be able to work with cross-sectional data (BEEM-static, check out our R package [here](https://github.com/CSB5/BEEM-static)).
5
8
6
9
## Dependencies
7
10
@@ -12,10 +15,19 @@ BEEM was written in R (>3.3.1) and requires the following packages:
12
15
- pspline
13
16
- monomvn
14
17
15
-
BEEM scripts can be loaded with the following command in R:
18
+
The BEEM functions can be loaded in R directly with the following commands:
Alternatively the repository together with the example data can be cloned/downloaded. The functions are then loaded with the following commands in R:
26
+
16
27
```r
17
-
source('path/to/this/repo/emFunctions.r')
28
+
source('local/path/to/beem/emFunctions.r')
18
29
```
30
+
19
31
## Input data
20
32
21
33
The input files for BEEM should have the same format as described in the manual for [MDSINE](https://bitbucket.org/MDSINE/mdsine/). The following two files are required by BEEM:
@@ -41,21 +53,21 @@ We have provided several sample input files that were also analyzed in our manus
41
53
42
54
#### Data from [Props et. al. (2016)](https://www.nature.com/articles/ismej2016117)
43
55
44
-
- OTU count `table: isme_analysis/counts.sel.txt`
45
-
- Metadata: `isme_analysis/metadata.sel.txt`
56
+
- OTU count `table: props_et_al_analysis/counts.sel.txt`
@@ -79,10 +91,10 @@ BEEM estimated parameters is an R `data.frame` (a table) with the following colu
79
91
80
92
### Analyses in the manuscript
81
93
82
-
The commands for reproducing the analysis reportd in the manuscript are presented as two jupyter notebooks: (1) [notebook for Props et. al.](https://github.com/CSB5/BEEM/blob/master/isme.ipynb) and (2) [notebook for Gibbons et. al.](https://github.com/CSB5/BEEM/blob/master/time_series_meta.ipynb).
94
+
The commands for reproducing the analysis reportd in the manuscript are presented as two jupyter notebooks: (1) [notebook for Props et. al.](https://github.com/CSB5/BEEM/blob/master/props_et_al.ipynb) and (2) [notebook for Gibbons et. al.](https://github.com/CSB5/BEEM/blob/master/gibbons_et_al.ipynb).
83
95
84
96
## Citation
85
-
C Li, L Tucker-Kellogg & N Nagarajan. (2018). System Biology Modeling with Compositional Microbiome Data Reveals Personalized Gut Microbial Dynamics and Keystone Species. [*BioRxiv*](https://www.biorxiv.org/content/early/2018/03/27/288803).
97
+
C Li, L Tucker-Kellogg & N Nagarajan. (2018). An expectation-maximization-like algorithm enables accurate ecological modeling using longitudinal metagenome sequencing data [*BioRxiv*](https://www.biorxiv.org/content/early/2018/07/17/288803).
86
98
87
99
## Contact
88
100
Please direct any questions or feedback to Chenhao Li (lich@gis.a-star.edu.sg) and Niranjan Nagarajan (nagarajann@gis.a-star.edu.sg).
0 commit comments