Peer Review History

Original SubmissionMarch 31, 2021
Decision Letter - Jason A. Papin, Editor, Nicola Segata, Editor

Dear Dr. Nagarajan,

Thank you very much for submitting your manuscript "BEEM-Static: Accurate inference of ecological interactions from cross-sectional metagenomic data" for consideration at PLOS Computational Biology.

As with all papers reviewed by the journal, your manuscript was reviewed by members of the editorial board and by several independent reviewers. In light of the reviews (below this email), we would like to invite the resubmission of a significantly-revised version that takes into account the reviewers' comments.

We cannot make any decision about publication until we have seen the revised manuscript and your response to the reviewers' comments. Your revised manuscript is also likely to be sent to reviewers for further evaluation.

When you are ready to resubmit, please upload the following:

[1] A letter containing a detailed list of your responses to the review comments and a description of the changes you have made in the manuscript. Please note while forming your response, if your article is accepted, you may have the opportunity to make the peer review history publicly available. The record will include editor decision letters (with reviews) and your responses to reviewer comments. If eligible, we will contact you to opt in or out.

[2] Two versions of the revised manuscript: one with either highlights or tracked changes denoting where the text has been changed; the other a clean version (uploaded as the manuscript file).

Important additional instructions are given below your reviewer comments.

Please prepare and submit your revised manuscript within 60 days. If you anticipate any delay, please let us know the expected resubmission date by replying to this email. Please note that revised manuscripts received after the 60-day due date may require evaluation and peer review similar to newly submitted manuscripts.

Thank you again for your submission. We hope that our editorial process has been constructive so far, and we welcome your feedback at any time. Please don't hesitate to contact us if you have any questions or comments.

Sincerely,

Nicola Segata

Associate Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: Li et al. developed a tool called "BEEM-Static" to infer microbial interactions from cross-sectional metagenomic data. These interactions are inferred using a generalized Lotka-Volterra model (gLVM). The authors highlight that in contrast to correlation-based methods BEEM-Static is able to infer directionality in addition to presence of the interactions. Further, they provide estimates of the sample biomass. They benchmarked their algorithm against 10 correlation-based methods using simulated datasets, simple pairwise experimental co-culture data and a large cross-sectional metagenomic dataset. BEEM-Static was robust to violations of model assumptions (equilibrium states and model differences) in these tests. While their method is interesting and the benchmarking results show improvements over other tools, I have several concerns:

Major concerns

• What is the main difference to the original BEEM algorithm? The filter functions? Please add more details on that to the introduction.

• Further details about model training should be provided. For example, additional figures showing how well the model converged by the end of training.

• The parameter inference method used in the paper is a coordinate descent algorithm, a general form of EM-algorithm. For the EM algorithm, it is necessary to write the log-likelihood function and formulate the E-step and M-step in this framework. That way, the M-step is maximizing the lower bound of the log-likelihood function which is an essential guarantee for the model to converge. In the general coordinate descent, it is necessary to prove that the function is bounded in order to show that the algorithm will converge. This is missing currently.

• In the large-scale metagenomic dataset, only 42 species passed the filtering. This number is very small for human gut microbial communities and a large fraction of the microbial community is not considered in many samples. I would suggest the authors provide a barplot showing the fraction of considered microbes in each sample.

• The authors didn't report how many samples are found invalid in the large-scale metagenomic dataset. They showed that the model still works well when up to 40% of samples are at non-equilibrium. Without the number of how many samples are predicted as "invalid" in the metagenomic dataset, it is uncertain if this criteria is met for the large metagenomic dataset.

• I would recommend a graphical overview of BEEM-static as one of the first figures, including input, output and potential conclusions that can be inferred from the results.

• I’m curious what the rationale is behind the biomass estimation. Why should it be possible to infer biomass based on relative abundances?

• Last paragraph of results section: Why do you point out fibre might play a role here? Without the context from the cohort, this seems a bit random. Please describe the real world datasets you used briefly (Healty cohort? Disease?) and why fibre is relevant.

• Why did you expect that enterotypes play a role in this or are affected by interactions?

Minor concerns:

• I don’t see why their approach is only applicable to metagenomic data. The abundance profiles from 16S data should work equally well.

• It would be interesting to verify the model's prediction on the equilibrium state of the metagenomic samples from the other time points. Does the next timepoint deviate from the current one? Does the second time point of the samples predicted as invalid deviate more than those predicted as valid? That would provide further confidence for the model's performance.

• Given a model, there will be multiple equilibrium states (the eigenvectors of the state matrix). It would be interesting to show how these equilibrium states are distributed in the large cohort.

• Some terms should be defined in the introduction, such as equilibrium. Examples for bacterial interactions of the different types would be helpful too (pos-pos, neg-neg, pos-neg).

• p. 15 (on my version): Define the abbreviation for the species involved in the interaction (DP, FP, ...).

• Fig 1C: Explain in the legend what those numbers in connection with the interactions mean.

• Fig 3C: The axis relative to the origin would make more sense to me. Also, I’m curious why the first PC explains so much variance? How were the clusters computed?

Reviewer #2: This manuscript introduces a new bioinformatics algorithm,

"BEEM-Static", to infer ecological interactions from cross-sectional

metagenomic data. The work is motivated by the current needs in

obtaining deeper ecological understanding of the systems underlying

observation in microbiome research in general, and in microbial

metagenomics in particular. Currently popular methods for

computational inference of microbial interactions are based on

observed co-abundance patterns but often lacking ecological

insight. This paper aims to demonstrate that ecological structure can

be recovered from cross-sectional metagenomic data. The method is an

EM algorithm (BEEM-Static) that utilizes a standard ecological (gLV)

interaction model. Application requires sample filtering but this is

justified based on the modeling assumptions: in particular, the

authors show that gLV parameters can estimated directly from

cross-sectional data, when it is being assumed that 1) the system is

close to equilibrium, and 2) absolute abundances are known. This has

considerable practical value because it helps to obtain ecologically

relevant insights from dynamical systems in a setting where the lack

of long and dense time series has so far limited the

investigations. Comparison with relevant alternatives demonstrates

remarkable improvements in the ability to detect interaction and its

directionality reliably (based on AUC/ROC scores). It is also shown

that the method is relatively robust to outliers and deviations from

stationarity or model assumptions, so that the first assumption seems

feasible. The second assumption is not generally available but the

authors propose a way to estimate this computationally, and advances

in measurement techniques may improve this further over time; the main

contribution in this work is the method itself. An interesting

demonstration of the model performance is provided by analysing

community stability in a well-known public human gut microbiome data

set, and the proposed model is potentially applicable to studying key

aspects of community dynamics across a vast spectrum of microbiome

data sets, and the results can be experimentally testable in many

cases if suitable experimental time series can be collected.

The manuscript is technically sound and written in a fluent and easily

understandable English. Experiments and statistical analyses have been

conducted rigorously and the conclusions are supported by the

data. Relevant literature is cited, and the relevant recent methods

have been included in the comparisons.

All data and code are fully available but I have not tried to

replicated the analysis. The associated R package seems good quality

and implemented according to prevailing standards for R package

development.

I only have the following minor notes:

* Minor

- The ecological models do not correspond to previously reported

enterotypes (in particular Fig S6). However, enterotypes - as

visualized on 2D PCoA space - are very broad community-level

clusters. It is possible that there are more refined subcommunities

that would be better visible on further PCoA dimensions or in a

focused subcommunity analysis and these might correspond better with

the previously reported enterotypes that are said to be driven by

specific bacterial groups. It would be informative to include some

more discussion on the possible connections. In particular,

Prevotella has been shown to have bimodal/bistable abundance

distribution at the population level, and if the BEEM-Static model

does not match this finding, this would be somewhat unexpected and

potentially indicate problems in the BEEM-Static model.

- The method is promoted as a new method for metagenomic data; but it

seems to me that this applies more generally to ecological community

profiling data, including 16S and potentially not even limited to

microbial ecological communities. Some discussion on the wider scope

might be warranted.

- The model is applied for core species that are abundant and

prevalent; applicability to lower abundance and rare groups is a

possible limitation and could be more clearly stated in Discussion.

- It would be informative and helpful to show how the term in M-step

inside the median (a / \\Sigma bx) can be derived for estimating

absolute abundances.

- The "EM framework" is not exactly the classical EM algorithm

although very close conceptually; reconsider naming e.g. "iterative

EM-type framework" or otherwise acknowledging the difference.

- The bullet point list in 2.7 might be better written out as text or

incorporated as a table?

- principle component analysis (common misspelling) -> should be:

principal component analysis; same for principal coordinate analysis

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Leo Lahti

Figure Files:

While revising your submission, please upload your figure files to the Preflight Analysis and Conversion Engine (PACE) digital diagnostic tool, https://pacev2.apexcovantage.com. PACE helps ensure that figures meet PLOS requirements. To use PACE, you must first register as a user. Then, login and navigate to the UPLOAD tab, where you will find detailed instructions on how to use the tool. If you encounter any issues or have any questions when using PACE, please email us at figures@plos.org.

Data Requirements:

Please note that, as a condition of publication, PLOS' data policy requires that you make available all data used to draw the conclusions outlined in your manuscript. Data must be deposited in an appropriate repository, included within the body of the manuscript, or uploaded as supporting information. This includes all numerical values that were used to generate graphs, histograms etc.. For an example in PLOS Biology see here: http://www.plosbiology.org/article/info%3Adoi%2F10.1371%2Fjournal.pbio.1001908#s5.

Reproducibility:

To enhance the reproducibility of your results, we recommend that you deposit your laboratory protocols in protocols.io, where a protocol can be assigned its own identifier (DOI) such that it can be cited independently in the future. Additionally, PLOS ONE offers an option to publish peer-reviewed clinical study protocols. Read more information on sharing protocols at https://plos.org/protocols?utm_medium=editorial-email&utm_source=authorletters&utm_campaign=protocols

Revision 1

Attachments
Attachment
Submitted filename: response letter.pdf
Decision Letter - Jason A. Papin, Editor, Nicola Segata, Editor

Dear Dr. Nagarajan,

We are pleased to inform you that your manuscript 'BEEM-Static: Accurate inference of ecological interactions from cross-sectional microbiome data' has been provisionally accepted for publication in PLOS Computational Biology. There are a couple of minor points still highlighted by one of the reviewer, but I trust you will address them in the final version of the manuscript.

Before your manuscript can be formally accepted you will need to complete some formatting changes, which you will receive in a follow up email. A member of our team will be in touch with a set of requests.

Please note that your manuscript will not be scheduled for publication until you have made the required changes, so a swift response is appreciated.

IMPORTANT: The editorial review process is now complete. PLOS will only permit corrections to spelling, formatting or significant scientific errors from this point onwards. Requests for major changes, or any which affect the scientific understanding of your work, will cause delays to the publication date of your manuscript.

Should you, your institution's press office or the journal office choose to press release your paper, you will automatically be opted out of early publication. We ask that you notify us now if you or your institution is planning to press release the article. All press must be co-ordinated with PLOS.

Thank you again for supporting Open Access publishing; we are looking forward to publishing your work in PLOS Computational Biology. 

Best regards,

Nicola Segata

Associate Editor

PLOS Computational Biology

Jason Papin

Editor-in-Chief

PLOS Computational Biology

***********************************************************

Reviewer's Responses to Questions

Comments to the Authors:

Please note here if the review is uploaded as an attachment.

Reviewer #1: The authors have addressed my concerns and I have no further comments.

Reviewer #2: The manuscript has improved, and the responses are adequate.

The remaining comments:

- In review responses the authors cite the Remien et al. preprint (https://www.biorxiv.org/content/10.1101/463372v1.full) discussing the estimation of absolute abundances; in fact Remien et al. show the expected result that absolute abundances cannot be fully identified from compositional data. This is in contrast with the approach in BEEM-Static, which provides an estimate of absolute abundances based on compositional data. The authors have mentioned, however, that this is only an approximation. It is important to make sure that the inability to fully estimate absolute abundances from compositional data are mentioned clearly when discussing the limitations of the method. Better estimates may become available as absolute quantification methods are developing, further increasing the potential value of this method. therefore I do not consider the inaccessibility of absolute estimates a major limitation in this case.

- Text is understandable but I suggest to pay attention to final proof-reading and figure quality

**********

Have the authors made all data and (if applicable) computational code underlying the findings in their manuscript fully available?

The PLOS Data policy requires authors to make all data and code underlying the findings described in their manuscript fully available without restriction, with rare exception (please refer to the Data Availability Statement in the manuscript PDF file). The data and code should be provided as part of the manuscript or its supporting information, or deposited to a public repository. For example, in addition to summary statistics, the data points behind means, medians and variance measures should be available. If there are restrictions on publicly sharing data or code —e.g. participant privacy or use of data from a third party—those must be specified.

Reviewer #1: Yes

Reviewer #2: Yes

**********

PLOS authors have the option to publish the peer review history of their article (what does this mean?). If published, this will include your full peer review and any attached files.

If you choose “no”, your identity will remain anonymous but your review may still be made public.

Do you want your identity to be public for this peer review? For information about this choice, including consent withdrawal, please see our Privacy Policy.

Reviewer #1: No

Reviewer #2: Yes: Leo Lahti

Formally Accepted
Acceptance Letter - Jason A. Papin, Editor, Nicola Segata, Editor

PCOMPBIOL-D-21-00585R1

BEEM-Static: Accurate inference of ecological interactions from cross-sectional microbiome data

Dear Dr Nagarajan,

I am pleased to inform you that your manuscript has been formally accepted for publication in PLOS Computational Biology. Your manuscript is now with our production department and you will be notified of the publication date in due course.

The corresponding author will soon be receiving a typeset proof for review, to ensure errors have not been introduced during production. Please review the PDF proof of your manuscript carefully, as this is the last chance to correct any errors. Please note that major changes, or those which affect the scientific understanding of the work, will likely cause delays to the publication date of your manuscript.

Soon after your final files are uploaded, unless you have opted out, the early version of your manuscript will be published online. The date of the early version will be your article's publication date. The final article will be published to the same URL, and all versions of the paper will be accessible to readers.

Thank you again for supporting PLOS Computational Biology and open-access publishing. We are looking forward to publishing your work!

With kind regards,

Andrea Szabo

PLOS Computational Biology | Carlyle House, Carlyle Road, Cambridge CB4 3DN | United Kingdom ploscompbiol@plos.org | Phone +44 (0) 1223-442824 | ploscompbiol.org | @PLOSCompBiol

Open letter on the publication of peer review reports

PLOS recognizes the benefits of transparency in the peer review process. Therefore, we enable the publication of all of the content of peer review and author responses alongside final, published articles. Reviewers remain anonymous, unless they choose to reveal their names.

We encourage other journals to join us in this initiative. We hope that our action inspires the community, including researchers, research funders, and research institutions, to recognize the benefits of published peer review reports for all parts of the research system.

Learn more at ASAPbio .