<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Publishing DTD v2.3 20070202//EN" "journalpublishing.dtd">
<article article-type="review-article" dtd-version="2.3" xml:lang="EN" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">
<front>
<journal-meta>
<journal-id journal-id-type="publisher-id">Front. Genet.</journal-id>
<journal-title>Frontiers in Genetics</journal-title>
<abbrev-journal-title abbrev-type="pubmed">Front. Genet.</abbrev-journal-title>
<issn pub-type="epub">1664-8021</issn>
<publisher>
<publisher-name>Frontiers Media S.A.</publisher-name>
</publisher>
</journal-meta>
<article-meta>
<article-id pub-id-type="publisher-id">749573</article-id>
<article-id pub-id-type="doi">10.3389/fgene.2021.749573</article-id>
<article-categories>
<subj-group subj-group-type="heading">
<subject>Genetics</subject>
<subj-group>
<subject>Methods</subject>
</subj-group>
</subj-group>
</article-categories>
<title-group>
<article-title>RFtest: A Robust and Flexible Community-Level Test for Microbiome Data Powerfully Detects Phylogenetically Clustered Signals</article-title>
<alt-title alt-title-type="left-running-head">Zhang et&#x20;al.</alt-title>
<alt-title alt-title-type="right-running-head">Random Forest-Based Test for Microbiome</alt-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name>
<surname>Zhang</surname>
<given-names>Lujun</given-names>
</name>
<xref ref-type="aff" rid="aff1">
<sup>1</sup>
</xref>
<xref ref-type="aff" rid="aff2">
<sup>2</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/540886/overview"/>
</contrib>
<contrib contrib-type="author">
<name>
<surname>Wang</surname>
<given-names>Yanshan</given-names>
</name>
<xref ref-type="aff" rid="aff3">
<sup>3</sup>
</xref>
<uri xlink:href="https://loop.frontiersin.org/people/544426/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Chen</surname>
<given-names>Jingwen</given-names>
</name>
<xref ref-type="aff" rid="aff4">
<sup>4</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name>
<surname>Chen</surname>
<given-names>Jun</given-names>
</name>
<xref ref-type="aff" rid="aff5">
<sup>5</sup>
</xref>
<xref ref-type="corresp" rid="c001">&#x2a;</xref>
<uri xlink:href="https://loop.frontiersin.org/people/701930/overview"/>
</contrib>
</contrib-group>
<aff id="aff1">
<sup>1</sup>
<institution>Department of Biostatistics and Bioinformatics, Duke University School of Medicine</institution>, <addr-line>Durham</addr-line>, <addr-line>NC</addr-line>, <country>United&#x20;States</country>
</aff>
<aff id="aff2">
<sup>2</sup>
<institution>Institute of Soil and Water Resources and Environmental Science, College of Environmental and Resource Sciences, Zhejiang University</institution>, <addr-line>Hangzhou</addr-line>, <country>China</country>
</aff>
<aff id="aff3">
<sup>3</sup>
<institution>Department of Health Information Management, University of Pittsburgh</institution>, <addr-line>Pittsburgh</addr-line>, <addr-line>PA</addr-line>, <country>United&#x20;States</country>
</aff>
<aff id="aff4">
<sup>4</sup>
<institution>Department of General Surgery, Zhongshan Hospital, Fudan University</institution>, <addr-line>Shanghai</addr-line>, <country>China</country>
</aff>
<aff id="aff5">
<sup>5</sup>
<institution>Department of Quantitative Health Sciences, Mayo Clinic</institution>, <addr-line>Rochester</addr-line>, <addr-line>MN</addr-line>, <country>United&#x20;States</country>
</aff>
<author-notes>
<fn fn-type="edited-by">
<p>
<bold>Edited by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1033401/overview">Zhonghua Liu</ext-link>, The University of Hong Kong, Hong Kong SAR, China</p>
</fn>
<fn fn-type="edited-by">
<p>
<bold>Reviewed by:</bold> <ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1093211/overview">Chaolong Wang</ext-link>, Huazhong University of Science and Technology, China</p>
<p>
<ext-link ext-link-type="uri" xlink:href="https://loop.frontiersin.org/people/1099457/overview">Xihao Li</ext-link>, Harvard University, United&#x20;States</p>
</fn>
<corresp id="c001">&#x2a;Correspondence: Jingwen Chen, <email>Riceawen@163.com</email>; Jun Chen, <email>chen.jun2@mayo.edu</email>
</corresp>
<fn fn-type="other">
<p>This article was submitted to Statistical Genetics and Methodology, a section of the journal Frontiers in Genetics</p>
</fn>
</author-notes>
<pub-date pub-type="epub">
<day>24</day>
<month>01</month>
<year>2022</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>12</volume>
<elocation-id>749573</elocation-id>
<history>
<date date-type="received">
<day>29</day>
<month>07</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>09</day>
<month>11</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#xa9; 2022 Zhang, Wang, Chen and Chen.</copyright-statement>
<copyright-year>2022</copyright-year>
<copyright-holder>Zhang, Wang, Chen and Chen</copyright-holder>
<license xlink:href="http://creativecommons.org/licenses/by/4.0/">
<p>This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these&#x20;terms.</p>
</license>
</permissions>
<abstract>
<p>Random forest is considered as one of the most successful machine learning algorithms, which has been widely used to construct microbiome-based predictive models. However, its use as a statistical testing method has not been explored. In this study, we propose &#x201c;Random Forest Test&#x201d; (RFtest), a global (community-level) test based on random forest for high-dimensional and phylogenetically structured microbiome data. RFtest is a permutation test using the generalization error of random forest as the test statistic. Our simulations demonstrate that RFtest has controlled type I error rates, that its power is superior to competing methods for phylogenetically clustered signals, and that it is robust to outliers and adaptive to interaction effects and non-linear associations. Finally, we apply RFtest to two real microbiome datasets to ascertain whether microbial communities are associated or not with the outcome variables.</p>
</abstract>
<kwd-group>
<kwd>random forest</kwd>
<kwd>hypothesis testing</kwd>
<kwd>community-wide test</kwd>
<kwd>microbiome</kwd>
<kwd>omics association test</kwd>
</kwd-group>
</article-meta>
</front>
<body>
<sec id="s1">
<title>1 Introduction</title>
<p>The microbiome, the collection of microorganisms and their genetic materials in an environment, has been intricately related to human health (<xref ref-type="bibr" rid="B16">Gao et&#x20;al., 2018</xref>; <xref ref-type="bibr" rid="B17">Gentile and Weir, 2018</xref>) and ecosystem functioning (<xref ref-type="bibr" rid="B15">Fierer, 2017</xref>). Studying the composition and function of the microbiome has been greatly facilitated by next-generation sequencing <italic>via</italic> marker gene (<xref ref-type="bibr" rid="B35">Weisburg et&#x20;al., 1991</xref>) and/or shotgun metagenomic sequencing techniques (<xref ref-type="bibr" rid="B19">Handelsman, 2004</xref>). For the past three&#xa0;decades, the marker gene sequencing has been the dominant approach to investigate the phylogenies and the abundance of microbial groups (<xref ref-type="bibr" rid="B35">Weisburg et&#x20;al., 1991</xref>), while shotgun metagenomics has become increasingly popular to study the functional potential of the microbiome (<xref ref-type="bibr" rid="B31">Quince et&#x20;al., 2017</xref>). Sequences stemming from this marker gene sequencing procedure are usually quality-filtered, merged, and clustered into operational taxonomic units (OTUs) (<xref ref-type="bibr" rid="B32">Schloss et&#x20;al., 2009</xref>; <xref ref-type="bibr" rid="B13">Edgar, 2013</xref>) or denoised into amplicon sequence variants (ASVs) (<xref ref-type="bibr" rid="B5">Callahan et&#x20;al., 2016</xref>; <xref ref-type="bibr" rid="B2">Bharti and Grimm, 2021</xref>). These OTUs and ASVs are regarded as surrogates of microbial taxa, and downstream statistical analyses are then performed based on the OTU/ASV abundance table, which records the frequencies of the detected OTUs/ASVs in each microbiome sample, together with a phylogenetic tree relating the OTUs/ASVs and the metadata describing the characteristics of the samples.</p>
<p>One central task of microbiome data analyses is to test the association between the microbiome and a variable of interest, while adjusting for potential confounders. Although the ultimate goal is to identify specific microbial taxa associated with the variable of interest, a process also known as differential abundance analysis (<xref ref-type="bibr" rid="B8">Chen et&#x20;al., 2018</xref>), the large abundance variation, weak effects, and the need for multiple testing correction makes differential abundance analysis underpowered for a moderate sample size. It is not uncommon that differential abundance analysis fails to make any discoveries after multiple testing correction when a number of microbial taxa are weakly associated with the variable of interest. In such cases, a community-level test, which jointly analyzes the abundance data at the community level, may be more powerful due to its ability to pool individual weak signals and no need for multiple testing correction. It is also possible to explore the interspecific interactions (<xref ref-type="bibr" rid="B43">Zengler and Zaramela, 2018</xref>) and phylogenetic relations (<xref ref-type="bibr" rid="B34">Washburne et&#x20;al., 2018</xref>) in the test to further improve the statistical power. In fact, the community-level tests have been routinely applied, as the first step in statistical analysis of microbiome data, to establish an overall association between the microbiome and the variable of interest. They have been instrumental in disentangling microbial association with, for example, clinical outcomes (<xref ref-type="bibr" rid="B10">Clooney et&#x20;al., 2021</xref>) and environmental gradients (<xref ref-type="bibr" rid="B44">Zhang et&#x20;al., 2021</xref>).</p>
<p>The first community-level test for microbiome data is based on permutational multivariate analysis of variance (PERMANOVA) (<xref ref-type="bibr" rid="B1">Anderson, 2001</xref>). PERMANOVA is a distance-based permutation test for assessing the association between a multivariate outcome and a covariate of interest, where the variability of the multivariate outcome is summarized in a distance/dissimilarity matrix. In microbiome applications, ecologically motivated distances/dissimilarities, such as UniFrac (<xref ref-type="bibr" rid="B26">Lozupone and Knight, 2005</xref>; <xref ref-type="bibr" rid="B25">Lozupone et&#x20;al., 2007</xref>) distance and Bray&#x2013;Curtis dissimilarity (<xref ref-type="bibr" rid="B3">Bray and Curtis, 1957</xref>), are frequently used. As an alternative to PERMANOVA, the microbiome regression-based kernel association test (MiRKAT) (<xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>) follows a similar logic but treats the abundance data as the covariate and transforms those distance or dissimilarity matrices into kernels; subsequently, community-level associations are evaluated using semi-parametric kernel machine regressions. MiRKAT is computationally efficient, allows a straightforward adjustment for covariates, and accommodates multiple distance kernels through an omnibus test (<xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>). Another community-level test is the adaptive microbiome-based sum of powered scores (aMiSPU), which is an adaptive test based on a series of microbiome-based sum of powered scores (MiSPU) calculated using different powers (<xref ref-type="bibr" rid="B38">Wu et&#x20;al., 2016</xref>). aMiSPU utilizes the variable selection/weighting of the SPU framework (<xref ref-type="bibr" rid="B29">Pan et&#x20;al., 2014</xref>) based on weighted and unweighted generalized taxon proportions and is designed to adapt to the underlying signal structure. Combining the strength of MiRKAT and aMiSPU, the optimal microbiome-based association test (OMiAT) (<xref ref-type="bibr" rid="B22">Koh et&#x20;al., 2017</xref>) substitutes MiSPU with its non-phylogenetic version, sum of powered scores (SPU), and integrates these two criteria <italic>via</italic> an omnibus <italic>p</italic>-value to improve power. These methods all use permutation to assess the statistical significance and hence the type I error rates are well controlled (<xref ref-type="bibr" rid="B1">Anderson, 2001</xref>; <xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B38">Wu et&#x20;al., 2016</xref>; <xref ref-type="bibr" rid="B22">Koh et&#x20;al., 2017</xref>). However, their power relies on the choice of candidate distances/kernels or specific data transformation (e.g., the power function for MiSPU). Moreover, they have limited ability to exploit the interactions among taxa, which are expected to be prevalent in microbiome data (<xref ref-type="bibr" rid="B43">Zengler and Zaramela, 2018</xref>). Additionally, they have not leveraged the strength of machine learning algorithms, which have been shown to be effective in building up microbiome-based predictive models (<xref ref-type="bibr" rid="B28">Marcos-Zambrano et&#x20;al., 2021</xref>).</p>
<p>In the present study, we propose a community-level test based on random forest (RFtest) for testing the associations between the microbiome and an outcome variable. Random forest (<xref ref-type="bibr" rid="B4">Breiman, 2001</xref>) is considered as one of the most successful machine learning algorithms, which can be readily applied to diverse tasks, such as variable selection and prediction from high-dimensional omics datasets (<xref ref-type="bibr" rid="B11">Degenhardt et&#x20;al., 2019</xref>). As a non-parametric decision tree-based method, it is robust to outliers and can automatically adapt to the complex relationship between the taxa abundance and the outcome variable without the need for data transformation. Moreover, they can capture high-order interactions in the data without prior knowledge provided (<xref ref-type="bibr" rid="B36">Wright et&#x20;al., 2016</xref>). The proposed method RFtest uses the generalization error estimate of random forest as the test statistic and uses permutation to calculate <italic>p</italic>-values. It incorporates the phylogenetic information <italic>via</italic> creating features that accumulate OTU/ASV abundance along the branches of the phylogenetic tree. RFtest is flexible and can be applied to different types of outcomes. It can also adjust covariates, which facilitates confounder adjustment in microbiome association analysis. By comprehensive simulations, we show that our approach has controlled type I error rates, and is particularly powerful to detect phylogenetically clustered signal, robust to outliers, and capable of detecting complex relationships between microbial taxa, and between the taxa and the outcome.</p>
</sec>
<sec id="s2">
<title>2 Methods and Materials</title>
<sec id="s2-1">
<title>2.1 Notations</title>
<p>Suppose that we have abundance measurements from <italic>n</italic> independent microbiome samples and <italic>p</italic> OTUs/ASVs, denoted by <bold>X</bold> &#x3d; (<bold>X</bold>
<sub>1</sub>, <bold>X</bold>
<sub>2</sub>, &#x2026; , <bold>X</bold>
<sub>
<italic>i</italic>
</sub>, &#x2026; , <bold>X</bold>
<sub>
<italic>n</italic>
</sub>)<sup>T</sup> (1 &#x2264; <italic>i</italic>&#x20;&#x2264; <italic>n</italic>), where <bold>X</bold>
<sub>
<italic>i</italic>
</sub> &#x3d; (<italic>x</italic>
<sub>
<italic>i</italic>1</sub>, <italic>x</italic>
<sub>
<italic>i</italic>2</sub>, &#x2026; , <italic>x</italic>
<sub>
<italic>ij</italic>
</sub>, &#x2026; , <italic>x</italic>
<sub>
<italic>ip</italic>
</sub>)<sup>T</sup> (1 &#x2264; <italic>j</italic>&#x20;&#x2264; <italic>p</italic>) and <italic>x</italic>
<sub>
<italic>ij</italic>
</sub> is the (normalized) abundance of the <italic>j</italic>
<sup>th</sup> OTU/ASV in the <italic>i</italic>
<sup>th</sup> sample. Let <bold>Y</bold> &#x3d; (<italic>y</italic>
<sub>1</sub>, <italic>y</italic>
<sub>2</sub>, &#x2026; , <italic>y</italic>
<sub>
<italic>i</italic>
</sub>, &#x2026; , <italic>y</italic>
<sub>
<italic>n</italic>
</sub>)<sup>T</sup> (1 &#x2264; <italic>i</italic>&#x20;&#x2264; <italic>n</italic>) denote the vector for the outcome variable, such as clinical outcomes and environmental gradients. Additionally, we may have <italic>q</italic> covariates, such as age and biological sex, which are denoted by <bold>Z</bold>
<sub>
<italic>n</italic>&#xd7;<italic>q</italic>
</sub> &#x3d; (<bold>Z</bold>
<sub>1</sub>, <bold>Z</bold>
<sub>2</sub>, &#x2026; , <bold>Z</bold>
<sub>
<italic>i</italic>
</sub>, &#x2026; , <bold>Z</bold>
<sub>
<italic>n</italic>
</sub>)<sup>T</sup>, where <bold>Z</bold>
<sub>
<italic>i</italic>
</sub> &#x3d; (<italic>z</italic>
<sub>
<italic>i</italic>1</sub>, <italic>z</italic>
<sub>
<italic>i</italic>2</sub>, &#x2026; , <italic>z</italic>
<sub>
<italic>ik</italic>
</sub>, &#x2026; , <italic>z</italic>
<sub>
<italic>iq</italic>
</sub>)<sup>T</sup> (1 &#x2264; <italic>k</italic>&#x20;&#x2264; <italic>q</italic>) are the measurement of the <italic>q</italic> covariates in the <italic>i</italic>th sample. Moreover, we may have a rooted phylogenetic tree <italic>G</italic> capturing the phylogenetic relatedness of the OTUs/ASVs. <italic>G</italic> has <italic>p</italic> leaves (terminal vertices with a degree of 1) and one node (an internal vertex with a degree greater than 1) called root. The <italic>p</italic> leaves correspond to the <italic>p</italic> OTUs/ASVs while the root is theoretically assumed to be the last common ancestor of all vertices in the phylogenetic tree. In a path connecting a leaf and the root, the vertices closer to the root are regarded as &#x201c;ancestors&#x201d; of vertices that are farther from; thus, this ancestral relationship describes the relative closeness of vertices to the root of <italic>G</italic>. The aim for RFtest is to test the association between <bold>Y</bold>
<sub>
<italic>n</italic>&#xd7;1</sub> and <bold>X</bold>
<sub>
<italic>n</italic>&#xd7;<italic>p</italic>
</sub> while adjusting <bold>Z</bold>
<sub>
<italic>n</italic>&#xd7;<italic>q</italic>
</sub>.</p>
</sec>
<sec id="s2-2">
<title>2.2 Methods</title>
<p>The tree of life underpins our understanding towards microorganisms (<xref ref-type="bibr" rid="B34">Washburne et&#x20;al., 2018</xref>). Closely related microorganisms share similar biological traits and association signals tend to be clustered with respect to their phylogenetic relationship (<xref ref-type="bibr" rid="B39">Xiao et&#x20;al., 2017</xref>; <xref ref-type="bibr" rid="B41">Xiao et&#x20;al., 2018a</xref>; <xref ref-type="bibr" rid="B40">Xiao et&#x20;al., 2018b</xref>). We therefore aim to utilize the phylogenetic information in the random forest test to improve its power. We incorporate such phylogenetic information by augmenting the OTU/ASV-level abundance data with the abundances of the internal nodes of the phylogenetic tree <italic>G</italic>. This is achieved by creating an <italic>n</italic>-by-<italic>m</italic> feature matrix <bold>W</bold>
<sub>
<italic>n</italic>&#xd7;<italic>m</italic>
</sub> &#x3d; (<italic>w</italic>
<sub>
<italic>il</italic>
</sub>)<sub>
<italic>n</italic>&#xd7;<italic>m</italic>
</sub> for the <italic>m</italic> internal nodes in <italic>G</italic>, where the features accumulate the abundance of OTUs/ASVs belonging to the same ancestor in <italic>G</italic>. As each leaf corresponds to one OTU/ASV in microbiome and there exists exactly one path between each leaf and the root, the total abundance of all OTU/ASV leaves that shares a specific common ancestor or internal node <italic>l</italic> is well-defined. Thus, we have<disp-formula id="e1">
<mml:math id="m1">
<mml:mrow>
<mml:msub>
<mml:mi>w</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>l</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">A</mml:mi>
</mml:mrow>
</mml:munder>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(1)</label>
</disp-formula>where <italic>w</italic>
<sub>
<italic>il</italic>
</sub> is the collective abundance of the <italic>l</italic>
<sup>th</sup> internal node of the <italic>i</italic>
<sup>th</sup> sample and <inline-formula id="inf16">
<mml:math id="m28">
<mml:mrow>
<mml:mi mathvariant="script">A</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> is the set of OTUs/ASVs whose ancestor is the <italic>l</italic>
<sup>th</sup> internal&#x20;node.</p>
<p>The RFtest uses the generalization error rate estimate (<xref ref-type="bibr" rid="B4">Breiman, 2001</xref>) of random forest as a test statistic, and uses permutation to calculate <italic>p</italic>-values. Specifically, random forest is firstly grown using the &#x201c;ranger&#x201d; package (<xref ref-type="bibr" rid="B37">Wright and Ziegler, 2017</xref>) in the R platform (<xref ref-type="bibr" rid="B33">Team, 2020</xref>) using <bold>Y</bold>
<sub>
<italic>n</italic>&#xd7;1</sub> as outcome variable and <bold>X</bold>
<sub>
<italic>n</italic>&#xd7;<italic>p</italic>
</sub> and <bold>W</bold>
<sub>
<italic>n</italic>&#xd7;<italic>m</italic>
</sub> as input features, and the observed out-of-bag (OOB) error rate <italic>T</italic>
<sub>obs</sub> is used as the test statistic. The OOB error is the average error for each observation calculated using predictions from the trees that do not contain in their respective bootstrap sample. Here, we use the probabilistic prediction for classification and the OOB error is essentially a Brier&#x2019;s score (<xref ref-type="bibr" rid="B27">Malley et&#x20;al., 2012</xref>). Regression and classification trees are used for continuous and binary <bold>Y</bold>s, respectively. When there are no covariates, it permutes the outcome <bold>Y</bold>
<sub>
<italic>n</italic>&#xd7;1</sub> <italic>B</italic> times and calculates the OOB error rate <inline-formula id="inf1">
<mml:math id="m2">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>b</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:mi>B</mml:mi>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula> based on the permuted <bold>Y</bold>
<sub>
<italic>n</italic>&#xd7;1</sub>. The <italic>p</italic>-value is calculated using:<disp-formula id="e2">
<mml:math id="m3">
<mml:mrow>
<mml:mi>p</mml:mi>
<mml:mo>&#x2010;</mml:mo>
<mml:mtext>value</mml:mtext>
<mml:mo>&#x3d;</mml:mo>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mo>&#x23;</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
<mml:mo>&#x2264;</mml:mo>
<mml:msub>
<mml:mi>T</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">o</mml:mi>
<mml:mi mathvariant="normal">b</mml:mi>
<mml:mi mathvariant="normal">s</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>B</mml:mi>
<mml:mo>&#x2b;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(2)</label>
</disp-formula>where &#x23;(<inline-formula id="inf2">
<mml:math id="m4">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> &#x2264; <italic>T</italic>
<sub>obs</sub>) is the number of permuted datasets satisfying <inline-formula id="inf3">
<mml:math id="m5">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> &#x2264;&#x20;<italic>T</italic>
<sub>obs</sub>.</p>
<p>When covariates are present, RFtest accommodates covariates using the following steps. Firstly, <bold>Y</bold>
<sub>
<italic>n</italic>&#xd7;1</sub> is regressed on covariate <bold>Z</bold>
<sub>
<italic>k</italic>
</sub> (1 &#x2264; <italic>k</italic>&#x20;&#x2264; <italic>q</italic>) using linear model if <bold>Y</bold> is continuous:<disp-formula id="e3">
<mml:math id="m6">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>1</mml:mn>
</mml:msub>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mn>1</mml:mn>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>q</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>e</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(3)</label>
</disp-formula>and using logistic regression model if <bold>Y</bold> is binary:<disp-formula id="e4">
<mml:math id="m7">
<mml:mrow>
<mml:mtext>logit</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(4)</label>
</disp-formula>where <inline-formula id="inf4">
<mml:math id="m8">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>0</mml:mn>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf5">
<mml:math id="m9">
<mml:mrow>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
</inline-formula> (1 &#x2264; <italic>k</italic>&#x20;&#x2264; <italic>q</italic>) are the estimated coefficients, and <italic>e</italic>
<sub>
<italic>i</italic>
</sub> are regression residuals. Next, for a continuous <bold>Y</bold>, we generate <inline-formula id="inf6">
<mml:math id="m10">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold">Y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> using residual permutation. The observed error rate <italic>T</italic>
<sub>obs</sub> is calculated based on the input features <bold>X</bold>
<sub>
<italic>n</italic>&#xd7;<italic>p</italic>
</sub> and <bold>W</bold>
<sub>
<italic>n</italic>&#xd7;m</sub> and the adjusted outcome <bold>Y</bold>
<sub>adj</sub> &#x3d; (<italic>e</italic>
<sub>1</sub>, <italic>e</italic>
<sub>2</sub>, &#x2026; , <italic>e</italic>
<sub>
<italic>i</italic>
</sub>, &#x2026; , <italic>e</italic>
<sub>
<italic>n</italic>
</sub>)<sup>T</sup> (1 &#x2264; <italic>i</italic>&#x20;&#x2264; <italic>n</italic>). Thereafter, the permutated <inline-formula id="inf7">
<mml:math id="m11">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold">Y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
<mml:mo>&#x3d;</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msup>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>1</mml:mn>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>2</mml:mn>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:mo>&#x2026;</mml:mo>
<mml:mo>,</mml:mo>
<mml:mtext>&#xa0;</mml:mtext>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>n</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mtext>T</mml:mtext>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is generated by<disp-formula id="e5">
<mml:math id="m12">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>e</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
<label>(5)</label>
</disp-formula>where <inline-formula id="inf8">
<mml:math id="m13">
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>e</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
</mml:mrow>
</mml:math>
</inline-formula> is the permutated regression residuals for the <italic>i</italic>th sample. For a binary covariate <bold>Y</bold>, <inline-formula id="inf9">
<mml:math id="m14">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold">Y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> is generated using a (0, 1) random number generator according to adjusted probabilities of<disp-formula id="e6">
<mml:math id="m15">
<mml:mrow>
<mml:mtext>logit</mml:mtext>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
<mml:mo>&#xa0;</mml:mo>
<mml:mo>&#x7c;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mi>i</mml:mi>
</mml:munder>
<mml:msubsup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>b</mml:mi>
</mml:msubsup>
<mml:mo>&#x3d;</mml:mo>
<mml:mo>&#xa0;</mml:mo>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mi>i</mml:mi>
</mml:munder>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>k</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>q</mml:mi>
</mml:munderover>
<mml:msub>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x5e;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>k</mml:mi>
</mml:msub>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(6)</label>
</disp-formula>where we conditioned on the number of observed cases. Finally, we calculate the error rate <inline-formula id="inf10">
<mml:math id="m16">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi>T</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> under permutation based on <inline-formula id="inf11">
<mml:math id="m17">
<mml:mrow>
<mml:msup>
<mml:mrow>
<mml:mover accent="true">
<mml:mi mathvariant="bold">Y</mml:mi>
<mml:mo>&#x2dc;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mi>b</mml:mi>
</mml:msup>
</mml:mrow>
</mml:math>
</inline-formula> similarly. Consequently, <italic>p</italic>-value can be obtained using (<xref ref-type="disp-formula" rid="e2">Eq.&#x20;2</xref>).</p>
<p>We implemented the random forest test in the package &#x201c;RFtest&#x201d; on the R platform, which is available on GitHub (<ext-link ext-link-type="uri" xlink:href="https://github.com/Lujun995/Random-forest-test-RFtest">https://github.com/Lujun995/Random-forest-test-RFtest</ext-link>).</p>
</sec>
<sec id="s2-3">
<title>2.3 Simulation Studies</title>
<p>Simulations were conducted under various scenarios to study whether RFtest would control type I error rates at desired levels and whether it would be a powerful testing approach compared with competing methods. Instead of using a parametrical model such as the Dirichlet-multinomial model (<xref ref-type="bibr" rid="B9">Chen and Li, 2013</xref>), the microbiome data were directly resampled from a large gut microbiome study by <xref ref-type="bibr" rid="B18">Hale et&#x20;al. (2017)</xref>. Briefly, the study compared the fecal microbiome profiles of patients with adenomas versus healthy controls. 16s rRNA sequences were analyzed using IM-TORNADO pipeline (<xref ref-type="bibr" rid="B21">Jeraldo et&#x20;al., 2014</xref>), OTUs were clustered at 97% identity, and singletons were removed (<xref ref-type="bibr" rid="B18">Hale et&#x20;al., 2017</xref>). After rarefaction to 20,000 counts per sample, the adenoma dataset contained 439 samples and 2,100 OTUs, where we resampled <italic>n</italic>&#x20;&#x3d; 50 samples, i.e.,&#x20;<bold>X</bold>
<sub>50&#xd7;<italic>p</italic>
</sub>, without replacement for each simulated dataset. We then constructed the outcome variable <bold>Y</bold>
<sub>50&#xd7;1</sub> under six scenarios, following the strategy by <xref ref-type="bibr" rid="B45">Zhao et&#x20;al. (2015)</xref>. Let S denote the set that comprises OTUs associated with <bold>Y</bold>. We generated the continuous and binary outcome <bold>Y</bold> &#x3d; (<italic>y</italic>
<sub>1</sub>, <italic>y</italic>
<sub>2</sub>, &#x2026; , <italic>y</italic>
<sub>
<italic>i</italic>
</sub>, &#x2026; , <italic>y</italic>
<sub>50</sub>)<sup>T</sup> (1 &#x2264; <italic>i</italic>&#x20;&#x2264; 50) based on<disp-formula id="e7">
<mml:math id="m18">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="italic">&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b5;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(7)</label>
</disp-formula>
</p>
<p>and<disp-formula id="e8">
<mml:math id="m19">
<mml:mrow>
<mml:mi>log</mml:mi>
<mml:mi mathvariant="normal">it</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>z</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="italic">&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(8)</label>
</disp-formula>where <italic>&#x3b2;</italic>
<sub>0</sub> is a constant, <italic>&#x3b2;</italic> is an adjustable effect size, <italic>&#x3b5;</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0, <italic>&#x3c3;</italic>
<sup>2</sup>), and the &#x201c;scale&#x201d; function standardizes the data to have mean 0 and standard deviation 1. We used <italic>&#x3b2;</italic>
<sub>0</sub> &#x3d; 10 for a continuous <bold>Y</bold> and <italic>&#x3b2;</italic>
<sub>0</sub> &#x3d; 0 for a binary <bold>Y</bold>, <italic>&#x3b5;</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0,&#x20;1).</p>
<p>The first scenario (S0) was used to study the type I error rate of RFtest by setting the effect size <italic>&#x3b2;</italic> &#x3d; 0 under three cases, including no covariates [<italic>z</italic>
<sub>
<italic>i</italic>
</sub> &#x3d; 0 and <italic>&#x3b5;</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0, 1)], one covariate independent of <bold>X</bold> (<italic>z</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0, 1) and <italic>&#x3b5;</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0, 9)), and one covariate associated with <bold>X</bold> {<italic>z</italic>
<sub>
<italic>i</italic>
</sub> &#x3d; scale[<inline-formula id="inf996">
<mml:math id="m910">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x3a3;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>] &#x2b; <italic>N</italic> (0, 1) and <italic>&#x3b5;</italic>
<sub>
<italic>i</italic>
</sub> &#x223c; <italic>N</italic> (0, 9)}, respectively. In the third case, <inline-formula id="inf27">
<mml:math id="m39">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> consisted of OTUs from an abundant lineage <inline-formula id="inf28">
<mml:math id="m40">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>A</italic>
</sub>, which contributed to 15% of the total OTU number and 21% of the total abundance.</p>
<p>The other five scenarios (S1&#x2013;S5) were used to evaluate the power of RFtest. No covariates were included (<italic>z</italic>
<sub>
<italic>i</italic>
</sub> &#x3d; 0) in these scenarios. In S1, we investigated different signal types (phylogenetically clustered vs. non-phylogenetically clustered) and different signal densities (5% vs. 15%). For phylogenetically clustered signals, the signal OTUs for 5% and 15% densities were from two abundant lineages <inline-formula id="inf30">
<mml:math id="m42">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>B</italic>
</sub> and <inline-formula id="inf29">
<mml:math id="m41">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>A</italic>
</sub>, respectively, where <inline-formula id="inf32">
<mml:math id="m44">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>B</italic>
</sub> was contained in <inline-formula id="inf31">
<mml:math id="m43">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>A</italic>
</sub> described above and contributed to 5% of the total OTU number and 11% of the total abundance. For non-clustered signals, the signal OTUs were randomly selected and OTUs for 5% density were also contained in those for 15%. We further substituted the term <inline-formula id="inf896">
<mml:math id="m810">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x3a3;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula> in <xref ref-type="disp-formula" rid="e7">Eq. 7</xref> and <xref ref-type="disp-formula" rid="e8">Eq. 8</xref> with <inline-formula id="inf12">
<mml:math id="m20">
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x3a3;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf13">
<mml:math id="m21">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, to avoid several OTUs dominating the overall signal strength.</p>
<p>The scenario S2 was designed to further validate the results of clustered signals in S1 using different lineages. We studied seven disjoint major lineages (<inline-formula id="inf33">
<mml:math id="m45">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>I</italic>
</sub>: <italic>I</italic>&#x20;&#x3d; <italic>A</italic>, <italic>C</italic>, <italic>D</italic>, <italic>E</italic>, <italic>F</italic>, <italic>G</italic>, <italic>H</italic>) in the dataset of <xref ref-type="bibr" rid="B18">Hale et&#x20;al. (2017)</xref>, which spanned 80% of the total OTU number and more than 80% of the total abundance. Each lineage possessed 5%&#x2013;20% of the total OTU number and 1%&#x2013;40% of the overall abundance. The simulations in this scenario were conducted under <italic>&#x3b2;</italic> &#x3d; 2.25 for a binary <bold>Y</bold> and <italic>&#x3b2;</italic> &#x3d; 0.75 for a continuous&#x20;<bold>Y</bold>.</p>
<p>The scenario S3 was to evaluate the power of the RFtest when the outcome variable was non-linearly associated with the signal OTUs. We applied a non-linear link function <italic>f</italic>
<sub>link</sub> to <italic>x</italic>
<sub>
<italic>ij</italic>
</sub>. Specifically,<disp-formula id="e9">
<mml:math id="m22">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="italic">&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi>l</mml:mi>
<mml:mi>i</mml:mi>
<mml:mi>n</mml:mi>
<mml:mi>k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b5;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(9)</label>
</disp-formula>for a continuous <bold>Y</bold>, and<disp-formula id="e10">
<mml:math id="m23">
<mml:mrow>
<mml:mi>log</mml:mi>
<mml:mi mathvariant="normal">it</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi>&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:msub>
<mml:mi>f</mml:mi>
<mml:mrow>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">i</mml:mi>
<mml:mi mathvariant="normal">n</mml:mi>
<mml:mi mathvariant="normal">k</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
<label>(10)</label>
</disp-formula>for a binary <bold>Y</bold>, where <italic>f</italic>
<sub>link</sub>(<italic>x</italic>
<sub>
<italic>ij</italic>
</sub>) &#x3d; log<sub>2</sub>(<italic>x</italic>
<sub>
<italic>ij</italic>
</sub> &#x2b; 1) (<italic>x</italic>
<sub>
<italic>ij</italic>
</sub> &#x2265;&#x20;0).</p>
<p>The scenario S4 studied a complex association between <bold>Y</bold> and <bold>X</bold> where there was interaction between two sets of signal OTUs. Particularly, for a continuous <bold>Y</bold>, it was generated <italic>via</italic>
<disp-formula id="e11">
<mml:math id="m24">
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="italic">&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#xb7;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x0027;</mml:mo>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x0027;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>&#x0027;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#x2b;</mml:mo>
<mml:msub>
<mml:mi>&#x3b5;</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
</mml:mrow>
</mml:math>
<label>(11)</label>
</disp-formula>
</p>
<p>and for a binary <bold>Y</bold>, it was generated using<disp-formula id="e12">
<mml:math id="m25">
<mml:mrow>
<mml:mi>log</mml:mi>
<mml:mi mathvariant="normal">it</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:mi>P</mml:mi>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>y</mml:mi>
<mml:mi>i</mml:mi>
</mml:msub>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:msub>
<mml:mi>&#x3b2;</mml:mi>
<mml:mn>0</mml:mn>
</mml:msub>
<mml:mo>&#x2b;</mml:mo>
<mml:mi mathvariant="italic">&#x3b2;</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>&#xb7;</mml:mo>
<mml:mi mathvariant="normal">s</mml:mi>
<mml:mi mathvariant="normal">c</mml:mi>
<mml:mi mathvariant="normal">a</mml:mi>
<mml:mi mathvariant="normal">l</mml:mi>
<mml:mi mathvariant="normal">e</mml:mi>
<mml:mrow>
<mml:mo>[</mml:mo>
<mml:mrow>
<mml:mstyle displaystyle="true">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x0027;</mml:mo>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x0027;</mml:mo>
</mml:mrow>
</mml:msub>
<mml:mrow>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
<mml:mo>&#x0027;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:mstyle>
</mml:mrow>
<mml:mo>]</mml:mo>
</mml:mrow>
<mml:mo>,</mml:mo>
</mml:mrow>
</mml:math>
<label>(12)</label>
</disp-formula>where <italic>&#x3b2;</italic> was fixed at 1.33 and 5 for a continuous and binary <bold>Y</bold>, respectively, and <inline-formula id="inf17">
<mml:math id="m29">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> and <inline-formula id="inf18">
<mml:math id="m30">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x0027;</mml:mo>
</mml:mrow>
</mml:math>
</inline-formula> were two disjoint sets comprising 15% and 13% of total OTUs, respectively. For phylogenetic signals, we let <inline-formula id="inf19">
<mml:math id="m31">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula> &#x3d; <inline-formula id="inf20">
<mml:math id="m32">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>A</italic>
</sub> and <inline-formula id="inf21">
<mml:math id="m33">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>&#x2019; &#x3d; <inline-formula id="inf22">
<mml:math id="m34">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>C</italic>
</sub>, where <inline-formula id="inf23">
<mml:math id="m35">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>A</italic>
</sub> had been characterized in S0 and <inline-formula id="inf24">
<mml:math id="m36">
<mml:mrow>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:math>
</inline-formula>
<sub>
<italic>C</italic>
</sub> was another major lineage accounting for 12% of the total abundance. For non-phylogenetic signal, the terms <inline-formula id="inf25">
<mml:math id="m37">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula> (<italic>x</italic>
<sub>
<italic>ij</italic>
</sub>) and <inline-formula id="inf26">
<mml:math id="m38">
<mml:msub>
<mml:mo>&#x2211;</mml:mo>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x0027;</mml:mo>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x0027;</mml:mo>
<mml:mo>&#x2009;</mml:mo>
</mml:mrow>
</mml:msub>
</mml:math>
</inline-formula>(<italic>x</italic>
<sub>
<italic>ij</italic>&#x2019;</sub>) in <xref ref-type="disp-formula" rid="e11">Eq. 11</xref> and <xref ref-type="disp-formula" rid="e12">Eq. 12</xref> were normalized using <inline-formula id="inf14">
<mml:math id="m26">
<mml:mrow>
<mml:munder>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>j</mml:mi>
<mml:mo>&#x2208;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
<mml:mo>&#x2009;</mml:mo>
<mml:mtext>or</mml:mtext>
<mml:mo>&#x2009;</mml:mo>
<mml:mi mathvariant="script">S</mml:mi>
</mml:mrow>
</mml:munder>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>/</mml:mo>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>, where <inline-formula id="inf15">
<mml:math id="m27">
<mml:mrow>
<mml:mrow>
<mml:mover accent="true">
<mml:mrow>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mo>&#x22c5;</mml:mo>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
</mml:mrow>
<mml:mo stretchy="true">&#xaf;</mml:mo>
</mml:mover>
</mml:mrow>
<mml:mo>&#x3d;</mml:mo>
<mml:mfrac>
<mml:mn>1</mml:mn>
<mml:mi>n</mml:mi>
</mml:mfrac>
<mml:munderover>
<mml:mstyle displaystyle="true">
<mml:mo>&#x2211;</mml:mo>
</mml:mstyle>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mo>&#x3d;</mml:mo>
<mml:mn>1</mml:mn>
</mml:mrow>
<mml:mi>n</mml:mi>
</mml:munderover>
<mml:mrow>
<mml:mo>(</mml:mo>
<mml:msub>
<mml:mi>x</mml:mi>
<mml:mrow>
<mml:mi>i</mml:mi>
<mml:mi>j</mml:mi>
</mml:mrow>
</mml:msub>
<mml:mo>)</mml:mo>
</mml:mrow>
</mml:mrow>
</mml:math>
</inline-formula>. The sample size used in this scenario ranged from 50 to 250 as detection of an interaction generally requires a relatively large sample&#x20;size.</p>
<p>The last scenario (S5) was used to assess the robustness of RFtest to outliers. Firstly, the outcome variable <bold>Y</bold> was generated according to the procedure in S1, using clustered or non-clustered signals with a density of 15%. Subsequently, the order of OTUs in 0, 1, or 3 samples was randomly shuffled, yielding 0, 1, or 3 outliers; therefore, these outliers would possess distinct microbiome profiles.</p>
<p>The source code of this section is available at GitHub (<ext-link ext-link-type="uri" xlink:href="https://github.com/Lujun995/RFtest-Simulations">https://github.com/Lujun995/RFtest-Simulations</ext-link>).</p>
</sec>
<sec id="s2-4">
<title>2.4 Competing Methods and Evaluation</title>
<p>The competing methods include the optimal microbiome regression-based kernel association test (optimal MiRKAT) (version 1.1.1, <ext-link ext-link-type="uri" xlink:href="https://cran.r-project.org/package=MiRKAT">https://cran.r-project.org/package&#x3d;MiRKAT</ext-link>) (<xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>), the adaptive microbiome-based sum of powered score test (aMiSPU) (version 1.0, <ext-link ext-link-type="uri" xlink:href="https://cran.r-project.org/package=MiSPU">https://cran.r-project.org/package&#x3d;MiSPU</ext-link>) (<xref ref-type="bibr" rid="B38">Wu et&#x20;al., 2016</xref>) and optimal microbiome-based association test (OMiAT) (version 6.0, <ext-link ext-link-type="uri" xlink:href="https://github.com/hk1785/OMiAT">https://github.com/hk1785/OMiAT</ext-link>) (<xref ref-type="bibr" rid="B22">Koh et&#x20;al., 2017</xref>). While multiple distance or dissimilarity functions could be used in MiRKAT, we followed the example in the &#x201c;MiRKAT&#x201d; package (<xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>) and selected weighted and unweighted UniFrac distance (<xref ref-type="bibr" rid="B26">Lozupone and Knight, 2005</xref>; <xref ref-type="bibr" rid="B25">Lozupone et&#x20;al., 2007</xref>) and Bray&#x2013;Curtis dissimilarities (<xref ref-type="bibr" rid="B3">Bray and Curtis, 1957</xref>), which have been widely used in microbiome studies. All the results were averaged over 1,000 simulation&#x20;runs.</p>
</sec>
</sec>
<sec id="s3">
<title>3 Results</title>
<sec id="s3-1">
<title>3.1 Simulation Studies</title>
<sec id="s3-1-1">
<title>3.1.1 Factors Influencing the Power of RFtest</title>
<p>We first studied factors that might influence the performance of RFtest including choice of the test statistic, method for <italic>p</italic>-value calculation, sparsity filtering, and the parameters of the random forest (&#x201c;ranger&#x201d;). Results of these evaluations were obtained under the scenario S1 (binary outcome).</p>
<p>For the choices of test statistic, we investigated the OOB error rate (&#x201c;OOB_P&#x201d;), training error, 0.632 error, and 0.632 &#x2b; error based on probabilistic predictions. It is well known that the training error underestimates the generalization error while OOB error overestimates it. The 0.632 and 0.632 &#x2b; rule proposed by Efron and Tibshirani (<xref ref-type="bibr" rid="B14">Efron and Tibshirani, 1997</xref>) tried to obtain a more unbiased estimate. In addition to the use of probabilistic predictions, we also compared to the OOB error rate based on binary prediction (&#x201c;OOB_noP&#x201d;). <xref ref-type="sec" rid="s10">Supplementary Figure S1</xref> shows that error rates based on probability predictions were found to be more powerful than that based on binary predictions, while for different types of error rates based on probabilistic predictions, their performance was similar (<xref ref-type="sec" rid="s10">Supplementary Figure S1</xref>). Thus, we selected the OOB error rate with probabilistic predictions as the test statistic. Next, we compared the permutation test to a na&#xef;ve test, which applied a Wilcoxon rank sum test based on the OOB predicted probabilities. We observed that their <italic>p</italic>-values were highly correlated (<xref ref-type="sec" rid="s10">Supplementary Figure S2</xref>); nonetheless, the na&#xef;ve approach was unable to adjust for covariates and slightly less powerful than the permutation-based RFtest (<xref ref-type="sec" rid="s10">Supplementary Figure S3</xref>). We also examined the effect of sparsity filtering on power and computational time&#x20;of RFtest by filtering features at sparsity thresholds of 98%, 96%, 90%, and 80%. <xref ref-type="sec" rid="s10">Supplementary Figure S4</xref> shows that mild filtering (e.g., filter OTUs present in less than 4%&#x2013;10% of samples) was more beneficial than no filtering or aggressive filtering. Such mild filtering could remarkably reduce computation time while maintaining a similar power. Finally, we studied the impact of the parameters of random forest (&#x201c;ranger&#x201d;) on the power of RFtest. Concerning the number of split variables, splitting a proportion of 2%&#x2013;3% of the total OTU number (close to the default) generally performed well under both phylogenetic and non-phylogenetic signals while a greater or smaller number might be preferrable for phylogenetic or non-phylogenetic signals, respectively (<xref ref-type="sec" rid="s10">Supplementary Figure S5</xref>). A larger number of decision trees in random forest would stabilize the error rate (<xref ref-type="sec" rid="s10">Supplementary Figure S6A</xref>); however, the variance of the sampling distribution of the error rate under&#x20;permutation was observed 10&#x20;times larger than the variance of the OOB error rate across different runs (<xref ref-type="sec" rid="s10">Supplementary Figure S6A</xref>). Thus, a larger number would&#x20;hardly increase the power of the RFtest (<xref ref-type="sec" rid="s10">Supplementary Figure S6B</xref>) but significantly increase computational burden. Based on these evaluations, we used an ensemble of 500 decision trees in the RFtest to accelerate the computation and stabilized the estimated error rate by averaging over three&#x20;runs.</p>
</sec>
<sec id="s3-1-2">
<title>3.1.2 Type I Error Control</title>
<p>We studied the type I error rate control of RFtest by simulating null datasets (S0) with or without covariates. At the nominal level of 5%, we observed that the type I error was controlled at the desired level in&#x20;situations where a covariate was absent, independent with <bold>X</bold> or correlated with <bold>X</bold> (<xref ref-type="table" rid="T1">Table&#x20;1</xref>).</p>
<table-wrap id="T1" position="float">
<label>TABLE 1</label>
<caption>
<p>Estimated type I error rate of the random forest test (RFtest).</p>
</caption>
<table>
<thead valign="top">
<tr>
<th align="left"/>
<th align="center">Binary outcome variable (Y)</th>
<th align="center">Continuous Y</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">No covariates (Z)</td>
<td align="char" char="(">4.7% (3.6%, 6.2%)<xref ref-type="table-fn" rid="Tfn1">
<sup>a</sup>
</xref>
</td>
<td align="char" char="(">5.3% (4.1%, 6.9%)</td>
</tr>
<tr>
<td align="left">Z independent with microbiome data (X)</td>
<td align="char" char="(">5.2% (4.0%, 6.8%)</td>
<td align="char" char="(">4.7% (3.6%, 6.2%)</td>
</tr>
<tr>
<td align="left">Z correlated with X</td>
<td align="char" char="(">3.6% (2.6%, 4.9%)</td>
<td align="char" char="(">2.9% (2.0%, 4.1%)</td>
</tr>
</tbody>
</table>
<table-wrap-foot>
<fn id="Tfn1">
<label>a</label>
<p>Data are presented as &#x201c;proportion (<italic>L</italic>, <italic>U</italic>),&#x201d; where the proportion is a point estimate of type I error rate and the <italic>L</italic> and the <italic>U</italic> are the lower and upper bounds of Wilson&#x2019;s 95% confidence interval for proportion data. Type I error rates are expected to be &#x2264; &#x223c;5%.</p>
</fn>
</table-wrap-foot>
</table-wrap>
</sec>
<sec id="s3-1-3">
<title>3.1.3 Power Studies</title>
<p>Next, we studied the power of RFtest under different scenarios with association signals (S1&#x2013;S5). In scenario S1, RFtest was more powerful than competing methods under phylogenetically clustered signals across signal densities for both binary and continuous outcomes (<xref ref-type="fig" rid="F1">Figures 1C,D</xref>
<bold>S7c</bold> &#x26; <bold>S7d</bold>). While the margin by which the RFtest led might expand or contract for different OTU clusters defined based on the phylogenetic tree in scenario S2 (<xref ref-type="fig" rid="F2">Figure&#x20;2</xref> &#x26; <bold>S8</bold>), RFtest was generally considered as a leading test among all competing methods except in lineage &#x201c;3590&#x201d; (<xref ref-type="fig" rid="F2">Figure&#x20;2</xref> &#x26; <bold>S8</bold>). Furthermore, this margin was more notable when the outcome variable is binary (<xref ref-type="fig" rid="F1">Figures 1C,D</xref>, <bold>S7c</bold> &#x26; <bold>S7d</bold>). For random or non-phylogenetic signals, however, the RFtest appeared to be less powerful than OMiAT and optimal MiRKAT but outperformed aMiSPU (<xref ref-type="fig" rid="F1">Figures 1A,B</xref>, <bold>1b</bold>, <bold>S7a</bold> &#x26;&#x20;<bold>S7b</bold>).</p>
<fig id="F1" position="float">
<label>FIGURE 1</label>
<caption>
<p>Power comparison among the competing methods for a binary outcome variable under different signal types and densities. Abbreviation: O.MiRKAT, optimal MiRKAT. <bold>(A,B)</bold> Random signals with a density of 5% and 15%, respectively. <bold>(C,D)</bold> Phylogenetically clustered signal with a density of 5% and 15%, respectively.</p>
</caption>
<graphic xlink:href="fgene-12-749573-g001.tif"/>
</fig>
<fig id="F2" position="float">
<label>FIGURE 2</label>
<caption>
<p>Power comparison among the four competing methods under signals from seven major lineages. The lineage numbers correspond to node numbers in the phylogenetic tree used in simulation in the present study. These lineages span &#x2265;80% of the total OTUs and the total abundance. Abbreviations have the same meaning as in <xref ref-type="fig" rid="F1">Figure&#x20;1</xref>.</p>
</caption>
<graphic xlink:href="fgene-12-749573-g002.tif"/>
</fig>
<p>Scenarios S3&#x2013;6 demonstrated the robustness of the RFtest to outliers and its adaptivity to diverse association patterns between <bold>X</bold> and <bold>Y</bold>. In scenario S3, the microbiome profile <bold>X</bold> was related to <bold>Y</bold> on the log scale yielding a non-linear relationship. We found that the results remained similar to those in scenario S1, where a linear relationship was assumed. The RFtest was observed to maintain a leading position under phylogenetical signals but became relatively less powerful under non-phylogenetic signals (<xref ref-type="fig" rid="F3">Figure&#x20;3</xref> &#x26; <bold>S9</bold>). However, compared to scenario S1, the difference diminished among the RFtest, the optimal MiRKAT, and the OMiAT (<xref ref-type="fig" rid="F3">Figure&#x20;3</xref> &#x26; <bold>S9</bold>). These three methods also outperformed aMiSPU (<xref ref-type="fig" rid="F3">Figure&#x20;3</xref> &#x26;&#x20;<bold>S9</bold>).</p>
<fig id="F3" position="float">
<label>FIGURE 3</label>
<caption>
<p>Power comparison among the competing methods for a binary outcome variable when <bold>X</bold> and <bold>Y</bold> are non-linearly associated. The raw OTU abundance data were transformed using a link function of <italic>f</italic>
<sub>log2</sub> (<italic>x</italic>
<sub>
<italic>ij</italic>
</sub>) &#x3d; log<sub>2</sub> (<italic>x</italic>
<sub>
<italic>ij</italic>
</sub> &#x2b; 1) (<italic>x</italic>
<sub>
<italic>ij</italic>
</sub> &#x2265; 0). Two signal types, phylogenetic and non-phylogenetic, with a density of 15% were&#x20;used.</p>
</caption>
<graphic xlink:href="fgene-12-749573-g003.tif"/>
</fig>
<p>In scenario S4, where we simulated interaction effects between OTU clusters, we observed that while the RFtest was a leading method in this scenario, the pattern differed for a binary and continuous outcome. For a binary outcome, RFtest could effectively detect interactions between two phylogenetic clusters or non-phylogenetic groups at a relatively larger sample sizes (<xref ref-type="fig" rid="F4">Figure&#x20;4</xref>). Meanwhile, the competing methods appeared powerless for both phylogenetic and non-phylogenetic signals (<xref ref-type="fig" rid="F4">Figure&#x20;4</xref>). For a continuous outcome, RFtest could powerfully detect the association for both types of signals (<xref ref-type="sec" rid="s10">Supplementary Figure S10</xref>). Meanwhile, the optimal MiRKAT and the OMiAT became considerably more powerful than the binary case under a non-phylogenetic signal (<xref ref-type="sec" rid="s10">Supplementary Figure S10</xref>); however, they remained underpowered under a phylogenetic signal (<xref ref-type="sec" rid="s10">Supplementary Figure&#x20;S10</xref>).</p>
<fig id="F4" position="float">
<label>FIGURE 4</label>
<caption>
<p>Power comparison among the competing methods when there was interaction between two microbial groups. The outcome variable was binary, and two signal types, phylogenetic and non-phylogenetic, were investigated. The two microbial groups comprised 13% and 15% of the total OTUs.</p>
</caption>
<graphic xlink:href="fgene-12-749573-g004.tif"/>
</fig>
<p>In scenario S5, we simulated one and three outliers to assess the reduction in power when outlier samples were present. The results indicated that RFtest was the most robust among the competing methods, and that the presence of several outliers did not affect the power much for both binary and continuous outcomes with phylogenetic or non-phylogenetic signals, while the power of other methods might be considerably reduced (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>; <xref ref-type="sec" rid="s10">Supplementary Figure&#x20;S11</xref>).</p>
<fig id="F5" position="float">
<label>FIGURE 5</label>
<caption>
<p>Power curves of the competing methods when outliers were present. The outcome variable was binary, and two signal types, phylogenetic and non-phylogenetic, with a density of 15% were assessed. Zero to three outlier samples were included.</p>
</caption>
<graphic xlink:href="fgene-12-749573-g005.tif"/>
</fig>
</sec>
</sec>
<sec id="s3-2">
<title>3.2 Real Data Analysis</title>
<p>In this section, we aimed to compare the results of RFtest, optimal MiRKAT, aMiSPU, and OMiAT in real-world examples. We re-analyzed the relationship between outcome variables and microbiome profiles in two published datasets. The first example was taken from a study on the throat microbiome (<xref ref-type="bibr" rid="B7">Charlson et&#x20;al., 2010</xref>). That study investigated the effect of smoking on human microbiota in the upper respiratory tract. While detailed information of sample collecting and data processing procedures can be accessed from <xref ref-type="bibr" rid="B7">Charlson et&#x20;al. (2010)</xref>, a summary is provided here. Nylon-flocked swabs were taken from the nasopharynx and oropharynx of 62 healthy subjects, including 33&#x20;non-smokers and 29 smokers. From each swab, DNA was extracted using the QIAamp DNA Stool Minikit (Qiagen) and the V1&#x2013;V2 region of the 16S rRNA was amplified. Thereafter, this 16S rRNA was sequenced using a 454 Life Sciences Genome Sequencer FLX instrument (Roche). The sequence reads were denoised (<xref ref-type="bibr" rid="B30">Quince et&#x20;al., 2009</xref>), analyzed using the QIIME pipeline (<xref ref-type="bibr" rid="B6">Caporaso et&#x20;al., 2010</xref>), and clustered into OTUs at 97% similarity using UCLUST (<xref ref-type="bibr" rid="B12">Edgar, 2010</xref>).</p>
<p>In the original study (<xref ref-type="bibr" rid="B7">Charlson et&#x20;al., 2010</xref>), the association between smoking and the respiratory tract microbiome was tested by Permutational Multivariate Analysis of Variance (<xref ref-type="bibr" rid="B1">Anderson, 2001</xref>). based on weighted and unweighted UniFrac distances (<xref ref-type="bibr" rid="B26">Lozupone and Knight, 2005</xref>; <xref ref-type="bibr" rid="B25">Lozupone et&#x20;al., 2007</xref>). A difference in microbial community structure was reported between smokers and non-smokers (<italic>p</italic>&#x20;&#x3c; 0.05). In the present study, we re-analyzed the microbiome data and found consistent results with previous studies (<xref ref-type="bibr" rid="B7">Charlson et&#x20;al., 2010</xref>; <xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>; <xref ref-type="bibr" rid="B38">Wu et&#x20;al., 2016</xref>). When no covariate was considered, the <italic>p</italic>-value estimated by the RFtest was 0.001 while those of the optimal MiRKAT, the OMiAT, and the aMiSPU were 0.006, 0.008, and 0.009, respectively. When biological sex was included as a confounder, the estimated <italic>p</italic>-values became 0.002, 0.009, 0.010, and 0.005 for the RFtest, the optimal MiRKAT, the OMiAT, and the aMiSPU, respectively. The RFtest provided more significant <italic>p</italic>-values in general, while all competing methods rejected the null hypotheses at a significance level of&#x20;0.01.</p>
<p>Another relevant example was taken from a study of the distance&#x2013;decay relationship in microbial ecology (<xref ref-type="bibr" rid="B42">Xue et&#x20;al., 2021</xref>). This relationship can be portrayed as relatedness of microbial communities decreases as their spatial distance increases (<xref ref-type="bibr" rid="B20">Hanson et&#x20;al., 2012</xref>). In brief, surface soil was collected intact from a paddy field in Wenling, Zhejiang Province, China (28&#xb0;21&#x2032; N, 121&#xb0;15&#x2032; E) in November 2017. From the sample, a soil cube (2.0&#x20;cm &#xd7; 2.0&#x20;cm &#xd7; 2.0&#xa0;cm) was selected and further divided into 4&#x20;&#xd7; 4&#x20;&#xd7; 4 cubes of which each had sides 0.5&#xa0;cm in length. DNA samples were extracted from these sub-cubes, and the V4&#x2013;V5 region of the 16S rDNA genes was amplified and subsequently sequenced using an Illumina HiSeq platform. After removal of adaptors and quality control, 16s rDNA sequences were aligned using USEARCH11 (<ext-link ext-link-type="uri" xlink:href="https://www.drive5.com/usearch/">https://www.drive5.com/usearch/</ext-link>) and OTUs were clustered at 97% identity using UPARSE (<xref ref-type="bibr" rid="B13">Edgar, 2013</xref>). Finally, the microbial communities were rarefied to 41,752 sequences per sample.</p>
<p>As one of the original findings (<xref ref-type="bibr" rid="B42">Xue et&#x20;al., 2021</xref>), a decreased community similarity, measured by 1&#x20;&#x2212; Bray&#x2013;Curtis dissimilarity (<xref ref-type="bibr" rid="B3">Bray and Curtis, 1957</xref>) between microbial communities, was observed as the spatial distance increased in the 64&#x20;sub-cubes (Mantel test, <italic>p</italic>&#x20;&#x3d; 0.001). Herein, we re-examined this distance&#x2013;decay association using the RFtest <italic>via</italic> an assessment of microbial changes along each spatial axis of the <italic>xyz</italic>-coordinate defined in the study of <xref ref-type="bibr" rid="B42">Xue et&#x20;al. (2021)</xref>. We found a similar result that the microbiome was associated with the <italic>x-</italic> and <italic>y</italic>-axes, and <italic>p</italic>-values by the RFtest were 0.001, 0.001, and 0.310 for the <italic>x</italic>-, <italic>y</italic>-, and <italic>z</italic>-axes, respectively. Those of the optimal MiRKAT were 0.011, 0.001, and 0.618, respectively; those of the OMiAT were 0.001, 0.001, and 0.265; and those of aMiSPU were 0.006, 0.001, and 0.135. While all methods discovered a statistically significant association between microbial changes and the <italic>x</italic>-axis, the RFtest reported a more significant <italic>p</italic>-value than the optimal MiRKAT and the aMiSPU, rejecting the null hypotheses at a significance level of&#x20;0.01.</p>
</sec>
</sec>
<sec id="s4">
<title>4 Discussion</title>
<p>Random forest has been one of the most successful machine learning methods for microbiome data (<xref ref-type="bibr" rid="B28">Marcos-Zambrano et&#x20;al., 2021</xref>). The superior predictive performance of random forest is due to its ability to model a complex nonlinear relationship between the microbiome and the outcome, to capture high-order interactions among taxa, and to accommodate a large number of taxa. In this study, we proposed a random forest-based test (RFtest) to assess the association between the microbiome and an outcome variable, borrowing the strengths of random forest in prediction. In RFtest, we incorporated phylogenetic structure by creating features that accumulate OTU abundance along the branches of the phylogenetic tree and used residual permutation to address covariates. Simulation results showed that RFtest could control type I error rate at the desired level with or without confounders (<xref ref-type="table" rid="T1">Table&#x20;1</xref>). This approach was closely linked to the na&#xef;ve approach (<xref ref-type="sec" rid="s10">Supplementary Figure S2</xref>); however, the na&#xef;ve method could not address covariates, which limits its use in real-world applications.</p>
<p>Our benchmarking study further revealed that RFtest had a clear edge over the competing methods to detect phylogenetically clustered signals (<xref ref-type="fig" rid="F1">Figure&#x20;1</xref>; <xref ref-type="sec" rid="s10">Supplementary Figure S11</xref>). This is because our approach incorporates topological information of a phylogenetic tree <italic>G</italic> into random forest <italic>via</italic> creating features that accumulate leaf OTU abundances. This strategy could also be explored in other machine learning algorithms to capture a clustered signal. Conversely, when the signal OTUs are randomly distributed in the phylogenetic tree, the OMiAT (<xref ref-type="bibr" rid="B22">Koh et&#x20;al., 2017</xref>) and optimal MiRKAT (<xref ref-type="bibr" rid="B45">Zhao et&#x20;al., 2015</xref>) may become a better choice than the RFtest (<xref ref-type="fig" rid="F1">Figure&#x20;1A</xref>; <xref ref-type="sec" rid="s10">Supplementary Figure S7A</xref>). Though non-phylogenetic signal cases were less advantageous to RFtest, we consider that the superior power of RFtest for phylogenetically clustered signals may be practically more important, since phylogenetic signals are extensively observed in microbiome studies, and phylogenetic approaches are of particular interest in microbiome analysis (<xref ref-type="bibr" rid="B34">Washburne et&#x20;al., 2018</xref>).</p>
<p>Our simulation results also demonstrated the robustness of RFtest to outliers and its adaptivity to various types of associations (<xref ref-type="fig" rid="F3">Figures 3</xref>&#x2013;<xref ref-type="fig" rid="F5">5</xref>; <xref ref-type="sec" rid="s10">Supplementary Figure S9&#x2013;11</xref>). Microbiome composition is highly variable, which would largely be ascribed to stochasticity rather than explained (<xref ref-type="bibr" rid="B10">Clooney et&#x20;al., 2021</xref>). Such large biological variation might consequently result in several outliers in a study. Remarkably, outliers affected the power of RFtest minimally, and RFtest was the most robust method to outliers in our benchmarking study (<xref ref-type="fig" rid="F5">Figure&#x20;5</xref>; <xref ref-type="sec" rid="s10">Supplementary Figure S11</xref>). Moreover, microbial communities have been portrayed as a complex ecosystem, in which its components closely interact with each other (<xref ref-type="bibr" rid="B43">Zengler and Zaramela, 2018</xref>). These interactions are generally categorized into two groups&#x2014;beneficial and neutral relationships, such as mutualism and commensalism, and antagonistic relationships, such as competition and predation (<xref ref-type="bibr" rid="B24">Little et&#x20;al., 2008</xref>). For mutualism and commensalism, they can be depicted as a non-linear, positive correlation between bacterial lineages and the outcome variable <bold>Y</bold>. For antagonistic relationships, a possible signal indicating competitive exclusion, denoted by <bold>Y</bold> &#x3d; 0, would occur when one of two lineages overwhelms the other, denoted by <bold>X</bold>
<sub>1</sub> (&#x2b;), <bold>X</bold>
<sub>2</sub> (&#x2013;); otherwise, <bold>Y</bold> &#x3d; 1 when <bold>X</bold>
<sub>1</sub>, <bold>X</bold>
<sub>2</sub> (&#x2b;) or <bold>X</bold>
<sub>1</sub>, <bold>X</bold>
<sub>2</sub> (&#x2013;). Therefore, they would be identified as interaction effects. Notably, our results showed that the RFtest was efficient in discovering a non-linear relationship (<xref ref-type="fig" rid="F3">Figure&#x20;3</xref> &#x26; S9) as well as an interaction effect (<xref ref-type="fig" rid="F4">Figure&#x20;4</xref> &#x26; S10). Given the relatively high performance of the RFtest under these complex conditions (<xref ref-type="fig" rid="F3">Figures 3</xref>&#x2013;<xref ref-type="fig" rid="F5">5</xref>, <bold>S9</bold>, <bold>S10</bold> &#x26; <bold>S11</bold>), it may be projected that the RFtest can be flexibly applied to a wide range of data structures to ascertain associations between a microbiome profile <bold>X</bold> and an outcome variable&#x20;<bold>Y</bold>.</p>
<p>There are several limitations for our proposed method. First, because of the use of bootstrapping in the random forest algorithm, RFtest can be computationally intensive. For example, it took 68&#xa0;s and 70&#xa0;MB in memory using a single core on a laptop computer to test the dataset of throat microbiome in our first real data example, compared to 2&#x2013;4&#xa0;s and 60&#x2013;100&#xa0;MB memory usage of its counterparts. Although computation is usually not a problem for a small dataset, more time would be required for larger datasets. The computation time of random forest increases linearly with the number of variables, i.e.,&#x20;<italic>p</italic>, and approximately linearly with the sample size <italic>n</italic> (<xref ref-type="bibr" rid="B37">Wright and Ziegler, 2017</xref>). To accelerate the computation of RFtest, we have implemented parallel computing in our software, where each permutation could be run in parallel. Moreover, we could perform sparsity-based filtering to reduce the number of input features to speed up the computation, without affecting the power much (<xref ref-type="sec" rid="s10">Supplementary Figure S4</xref>). Another limitation may be that current random forest test could not as effectively identify random, non-phylogenetical signals as OMiAT (<xref ref-type="fig" rid="F1">Figures 1A</xref>,<xref ref-type="fig" rid="F1">B</xref>; <xref ref-type="sec" rid="s10">Supplementary Figures S7A,B</xref>). Increasing the power for non-phylogenetic signal is our future direction of research, for example, by leveraging multiple weighting schemes in RFtest from external data with an omnibus test (<xref ref-type="bibr" rid="B23">Li et&#x20;al., 2020</xref>).</p>
</sec>
</body>
<back>
<sec id="s5">
<title>Data Availability Statement</title>
<p>Publicly available datasets were analyzed in this study. The package &#x201c;RFtest&#x201d; was implemented on the R platform, which can be found on GitHub (<ext-link ext-link-type="uri" xlink:href="https://github.com/Lujun995/Random-forest-test-RFtest">https://github.com/Lujun995/Random-forest-test-RFtest</ext-link>). The source code of the simulations in the present study is available at GitHub (<ext-link ext-link-type="uri" xlink:href="https://github.com/Lujun995/RFtest-Simulations">https://github.com/Lujun995/RFtest-Simulations</ext-link>).</p>
</sec>
<sec id="s6">
<title>Author Contributions</title>
<p>JnC, LZ, and JgC conceived the idea, implemented the method, designed and conducted the simulation studies, and drafted the manuscript. YW contributed to the data analysis and polished the manuscript. All authors read and approved the final manuscript.</p>
</sec>
<sec id="s7">
<title>Funding</title>
<p>This work was supported by the Center for Individualized Medicine at Mayo Clinic, NIH 1 R21 HG011662 and National Science Foundation NSF-DMS 2113360.</p>
</sec>
<sec sec-type="COI-statement" id="s8">
<title>Conflict of Interest</title>
<p>The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.</p>
</sec>
<sec sec-type="disclaimer" id="s9">
<title>Publisher&#x2019;s Note</title>
<p>All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors, and the reviewers. Any product that may be evaluated in this article, or claim that may be made by its manufacturer, is not guaranteed or endorsed by the publisher.</p>
</sec>
<sec id="s10">
<title>Supplementary Material</title>
<p>The Supplementary Material for this article can be found online at: <ext-link ext-link-type="uri" xlink:href="https://www.frontiersin.org/articles/10.3389/fgene.2021.749573/full#supplementary-material">https://www.frontiersin.org/articles/10.3389/fgene.2021.749573/full&#x23;supplementary-material</ext-link>
</p>
<supplementary-material xlink:href="DataSheet1.docx" id="SM1" mimetype="application/docx" xmlns:xlink="http://www.w3.org/1999/xlink"/>
</sec>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Anderson</surname>
<given-names>M. J.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>A New Method for Non-parametric Multivariate Analysis&#x20;of Variance</article-title>. <source>Austral Ecol.</source> <volume>26</volume> (<issue>1</issue>), <fpage>32</fpage>&#x2013;<lpage>46</lpage>. <pub-id pub-id-type="doi">10.1111/j.1442-9993.2001.01070.pp.x</pub-id> </citation>
</ref>
<ref id="B2">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bharti</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Grimm</surname>
<given-names>D. G.</given-names>
</name>
</person-group> (<year>2021</year>). <article-title>Current Challenges and Best-Practice Protocols for Microbiome Analysis</article-title>. <source>Brief Bioinform.</source> <volume>22</volume> (<issue>1</issue>), <fpage>178</fpage>&#x2013;<lpage>193</lpage>. <pub-id pub-id-type="doi">10.1093/bib/bbz155</pub-id> </citation>
</ref>
<ref id="B3">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Bray</surname>
<given-names>J.&#x20;R.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>J.&#x20;T.</given-names>
</name>
</person-group> (<year>1957</year>). <article-title>An Ordination of the upland forest Communities of Southern Wisconsin</article-title>. <source>Ecol. Monogr.</source> <volume>27</volume> (<issue>4</issue>), <fpage>325</fpage>&#x2013;<lpage>349</lpage>. <pub-id pub-id-type="doi">10.2307/1942268</pub-id> </citation>
</ref>
<ref id="B4">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Breiman</surname>
<given-names>L.</given-names>
</name>
</person-group> (<year>2001</year>). <article-title>Random Forests</article-title>. <source>Mach Learn.</source> <volume>45</volume> (<issue>1</issue>), <fpage>5</fpage>&#x2013;<lpage>32</lpage>. </citation>
</ref>
<ref id="B5">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Callahan</surname>
<given-names>B. J.</given-names>
</name>
<name>
<surname>McMurdie</surname>
<given-names>P. J.</given-names>
</name>
<name>
<surname>Rosen</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Han</surname>
<given-names>A. W.</given-names>
</name>
<name>
<surname>Johnson</surname>
<given-names>A. J.&#x20;A.</given-names>
</name>
<name>
<surname>Holmes</surname>
<given-names>S. P.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>DADA2: High-Resolution Sample Inference from Illumina Amplicon Data</article-title>. <source>Nat. Methods</source> <volume>13</volume> (<issue>7</issue>), <fpage>581</fpage>&#x2013;<lpage>583</lpage>. <pub-id pub-id-type="doi">10.1038/nmeth.3869</pub-id> </citation>
</ref>
<ref id="B6">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Caporaso</surname>
<given-names>J.&#x20;G.</given-names>
</name>
<name>
<surname>Kuczynski</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Stombaugh</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Bittinger</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Bushman</surname>
<given-names>F. D.</given-names>
</name>
<name>
<surname>Costello</surname>
<given-names>E. K.</given-names>
</name>
<etal/>
</person-group> (<year>2010</year>). <article-title>QIIME Allows Analysis of High-Throughput Community Sequencing Data</article-title>. <source>Nat. Methods</source> <volume>7</volume> (<issue>5</issue>), <fpage>335</fpage>&#x2013;<lpage>336</lpage>. <pub-id pub-id-type="doi">10.1038/nmeth.f.303</pub-id> </citation>
</ref>
<ref id="B7">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Charlson</surname>
<given-names>E. S.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Custers-Allen</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Bittinger</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Sinha</surname>
<given-names>R.</given-names>
</name>
<etal/>
</person-group> (<year>2010</year>). <article-title>Disordered Microbial Communities in the Upper Respiratory Tract&#x20;of&#x20;Cigarette Smokers</article-title>. <source>PLoS One</source> <volume>5</volume> (<issue>12</issue>), <fpage>e15216</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0015216</pub-id> </citation>
</ref>
<ref id="B8">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>King</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Deek</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Grill</surname>
<given-names>D.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>An Omnibus Test for Differential Distribution Analysis of Microbiome Sequencing Data</article-title>. <source>Bioinformatics</source> <volume>34</volume> (<issue>4</issue>), <fpage>643</fpage>&#x2013;<lpage>651</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/btx650</pub-id> </citation>
</ref>
<ref id="B9">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>Variable Selection for Sparse Dirichlet-Multinomial Regression with an Application to Microbiome Data Analysis</article-title>. <source>Ann. Appl. Stat.</source> <volume>7</volume> (<issue>1</issue>), <fpage>418</fpage>&#x2013;<lpage>442</lpage>. <pub-id pub-id-type="doi">10.1214/12-aoas592</pub-id> </citation>
</ref>
<ref id="B10">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Clooney</surname>
<given-names>A. G.</given-names>
</name>
<name>
<surname>Eckenberger</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Laserna-Mendieta</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Sexton</surname>
<given-names>K. A.</given-names>
</name>
<name>
<surname>Bernstein</surname>
<given-names>M. T.</given-names>
</name>
<name>
<surname>Vagianos</surname>
<given-names>K.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Ranking Microbiome Variance in Inflammatory Bowel Disease: a Large Longitudinal Intercontinental Study</article-title>. <source>Gut</source> <volume>70</volume> (<issue>3</issue>), <fpage>499</fpage>&#x2013;<lpage>510</lpage>. <pub-id pub-id-type="doi">10.1136/gutjnl-2020-321106</pub-id> </citation>
</ref>
<ref id="B11">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Degenhardt</surname>
<given-names>F.</given-names>
</name>
<name>
<surname>Seifert</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Szymczak</surname>
<given-names>S.</given-names>
</name>
</person-group> (<year>2019</year>). <article-title>Evaluation of Variable Selection Methods for Random Forests and Omics Data Sets</article-title>. <source>Brief Bioinformatics</source> <volume>20</volume> (<issue>2</issue>), <fpage>492</fpage>&#x2013;<lpage>503</lpage>. <pub-id pub-id-type="doi">10.1093/bib/bbx124</pub-id> </citation>
</ref>
<ref id="B12">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Edgar</surname>
<given-names>R. C.</given-names>
</name>
</person-group> (<year>2010</year>). <article-title>Search and Clustering Orders of Magnitude Faster Than BLAST</article-title>. <source>Bioinformatics</source> <volume>26</volume> (<issue>19</issue>), <fpage>2460</fpage>&#x2013;<lpage>2461</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/btq461</pub-id> </citation>
</ref>
<ref id="B13">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Edgar</surname>
<given-names>R. C.</given-names>
</name>
</person-group> (<year>2013</year>). <article-title>UPARSE: Highly Accurate OTU Sequences from Microbial Amplicon Reads</article-title>. <source>Nat. Methods</source> <volume>10</volume> (<issue>10</issue>), <fpage>996</fpage>&#x2013;<lpage>998</lpage>. <pub-id pub-id-type="doi">10.1038/nmeth.2604</pub-id> </citation>
</ref>
<ref id="B14">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Efron</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Tibshirani</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>1997</year>). <article-title>Improvements on Cross-Validation: the 632&#x2b; Bootstrap Method</article-title>. <source>J.&#x20;Am. Stat. Assoc.</source> <volume>92</volume> (<issue>438</issue>), <fpage>548</fpage>&#x2013;<lpage>560</lpage>. <pub-id pub-id-type="doi">10.1080/01621459.1997.10474007</pub-id> </citation>
</ref>
<ref id="B15">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Fierer</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Embracing the Unknown: Disentangling the Complexities of the Soil Microbiome</article-title>. <source>Nat. Rev. Microbiol.</source> <volume>15</volume> (<issue>10</issue>), <fpage>579</fpage>&#x2013;<lpage>590</lpage>. <pub-id pub-id-type="doi">10.1038/nrmicro.2017.87</pub-id> </citation>
</ref>
<ref id="B16">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gao</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Xu</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Huang</surname>
<given-names>G.</given-names>
</name>
<name>
<surname>Jiang</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Gu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>F.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Oral Microbiomes: More and More Importance in Oral Cavity and Whole Body</article-title>. <source>Protein Cell</source> <volume>9</volume> (<issue>5</issue>), <fpage>488</fpage>&#x2013;<lpage>500</lpage>. <pub-id pub-id-type="doi">10.1007/s13238-018-0548-1</pub-id> </citation>
</ref>
<ref id="B17">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Gentile</surname>
<given-names>C. L.</given-names>
</name>
<name>
<surname>Weir</surname>
<given-names>T. L.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>The Gut Microbiota at the Intersection of Diet and Human Health</article-title>. <source>Science</source> <volume>362</volume> (<issue>6416</issue>), <fpage>776</fpage>&#x2013;<lpage>780</lpage>. <pub-id pub-id-type="doi">10.1126/science.aau5812</pub-id> </citation>
</ref>
<ref id="B18">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hale</surname>
<given-names>V. L.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Johnson</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Harrington</surname>
<given-names>S. C.</given-names>
</name>
<name>
<surname>Yab</surname>
<given-names>T. C.</given-names>
</name>
<name>
<surname>Smyrk</surname>
<given-names>T. C.</given-names>
</name>
<etal/>
</person-group> (<year>2017</year>). <article-title>Shifts in the Fecal Microbiota Associated with Adenomatous Polyps</article-title>. <source>Cancer Epidemiol. Biomarkers Prev.</source> <volume>26</volume> (<issue>1</issue>), <fpage>85</fpage>&#x2013;<lpage>94</lpage>. <pub-id pub-id-type="doi">10.1158/1055-9965.epi-16-0337</pub-id> </citation>
</ref>
<ref id="B19">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Handelsman</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2004</year>). <article-title>Metagenomics: Application of Genomics to Uncultured Microorganisms</article-title>. <source>Microbiol. Mol. Biol. Rev.</source> <volume>68</volume> (<issue>4</issue>), <fpage>669</fpage>&#x2013;<lpage>685</lpage>. <pub-id pub-id-type="doi">10.1128/mmbr.68.4.669-685.2004</pub-id> </citation>
</ref>
<ref id="B20">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Hanson</surname>
<given-names>C. A.</given-names>
</name>
<name>
<surname>Fuhrman</surname>
<given-names>J.&#x20;A.</given-names>
</name>
<name>
<surname>Horner-Devine</surname>
<given-names>M. C.</given-names>
</name>
<name>
<surname>Martiny</surname>
<given-names>J.&#x20;B. H.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Beyond Biogeographic Patterns: Processes Shaping the Microbial Landscape</article-title>. <source>Nat. Rev. Microbiol.</source> <volume>10</volume> (<issue>7</issue>), <fpage>497</fpage>&#x2013;<lpage>506</lpage>. <pub-id pub-id-type="doi">10.1038/nrmicro2795</pub-id> </citation>
</ref>
<ref id="B21">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Jeraldo</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Kalari</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Bhavsar</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Mangalam</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>White</surname>
<given-names>B.</given-names>
</name>
<etal/>
</person-group> (<year>2014</year>). <article-title>IM-TORNADO: A Tool for Comparison of 16S Reads from Paired-End Libraries</article-title>. <source>PLoS ONE</source> <volume>9</volume> (<issue>12</issue>), <fpage>e114804</fpage>. <pub-id pub-id-type="doi">10.1371/journal.pone.0114804</pub-id> </citation>
</ref>
<ref id="B22">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Koh</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Blaser</surname>
<given-names>M. J.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>H.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>A Powerful Microbiome-Based Association Test and a Microbial Taxa Discovery Framework for Comprehensive Association Mapping</article-title>. <source>Microbiome</source> <volume>5</volume> (<issue>1</issue>), <fpage>45</fpage>. <pub-id pub-id-type="doi">10.1186/s40168-017-0262-x</pub-id> </citation>
</ref>
<ref id="B23">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Li</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Li</surname>
<given-names>Z.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Gaynor</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2020</year>). <article-title>Dynamic Incorporation of Multiple In Silico Functional Annotations Empowers Rare Variant Association Analysis of Large Whole-Genome Sequencing Studies at Scale</article-title>. <source>Nat. Genet.</source> <volume>52</volume> (<issue>9</issue>), <fpage>969</fpage>&#x2013;<lpage>983</lpage>. <pub-id pub-id-type="doi">10.1038/s41588-020-0676-4</pub-id> </citation>
</ref>
<ref id="B24">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Little</surname>
<given-names>A. E. F.</given-names>
</name>
<name>
<surname>Robinson</surname>
<given-names>C. J.</given-names>
</name>
<name>
<surname>Peterson</surname>
<given-names>S. B.</given-names>
</name>
<name>
<surname>Raffa</surname>
<given-names>K. F.</given-names>
</name>
<name>
<surname>Handelsman</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2008</year>). <article-title>Rules of Engagement: Interspecies Interactions that Regulate Microbial&#x20;Communities</article-title>. <source>Annu. Rev. Microbiol.</source> <volume>62</volume>, <fpage>375</fpage>&#x2013;<lpage>401</lpage>. <pub-id pub-id-type="doi">10.1146/annurev.micro.030608.101423</pub-id> </citation>
</ref>
<ref id="B25">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lozupone</surname>
<given-names>C. A.</given-names>
</name>
<name>
<surname>Hamady</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Kelley</surname>
<given-names>S. T.</given-names>
</name>
<name>
<surname>Knight</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2007</year>). <article-title>Quantitative and Qualitative &#x3b2; Diversity Measures Lead to Different Insights into Factors that Structure Microbial Communities</article-title>. <source>Appl. Environ. Microbiol.</source> <volume>73</volume> (<issue>5</issue>), <fpage>1576</fpage>&#x2013;<lpage>1585</lpage>. <pub-id pub-id-type="doi">10.1128/aem.01996-06</pub-id> </citation>
</ref>
<ref id="B26">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Lozupone</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Knight</surname>
<given-names>R.</given-names>
</name>
</person-group> (<year>2005</year>). <article-title>UniFrac: a New Phylogenetic Method for Comparing Microbial Communities</article-title>. <source>Appl. Environ. Microbiol.</source> <volume>71</volume> (<issue>12</issue>), <fpage>8228</fpage>&#x2013;<lpage>8235</lpage>. <pub-id pub-id-type="doi">10.1128/aem.71.12.8228-8235.2005</pub-id> </citation>
</ref>
<ref id="B27">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Malley</surname>
<given-names>J.&#x20;D.</given-names>
</name>
<name>
<surname>Kruppa</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Dasgupta</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Malley</surname>
<given-names>K. G.</given-names>
</name>
<name>
<surname>Ziegler</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2012</year>). <article-title>Probability Machines</article-title>. <source>Methods Inf. Med.</source> <volume>51</volume> (<issue>01</issue>), <fpage>74</fpage>&#x2013;<lpage>81</lpage>. <pub-id pub-id-type="doi">10.3414/me00-01-0052</pub-id> </citation>
</ref>
<ref id="B28">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Marcos-Zambrano</surname>
<given-names>L. J.</given-names>
</name>
<name>
<surname>Karaduzovic-Hadziabdic</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Loncar Turukalo</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Przymus</surname>
<given-names>P.</given-names>
</name>
<name>
<surname>Trajkovik</surname>
<given-names>V.</given-names>
</name>
<name>
<surname>Aasmets</surname>
<given-names>O.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Applications of Machine Learning in Human Microbiome Studies: A Review on Feature Selection, Biomarker Identification, Disease Prediction and Treatment</article-title>. <source>Front. Microbiol.</source> <volume>12</volume>, <fpage>634511</fpage>. <pub-id pub-id-type="doi">10.3389/fmicb.2021.634511</pub-id> </citation>
</ref>
<ref id="B29">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Pan</surname>
<given-names>W.</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Shen</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Wei</surname>
<given-names>P.</given-names>
</name>
</person-group> (<year>2014</year>). <article-title>A Powerful and Adaptive Association Test for Rare Variants</article-title>. <source>Genetics</source> <volume>197</volume> (<issue>4</issue>), <fpage>1081</fpage>&#x2013;<lpage>1095</lpage>. <pub-id pub-id-type="doi">10.1534/genetics.114.165035</pub-id> </citation>
</ref>
<ref id="B30">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Quince</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Lanz&#xe9;n</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>Curtis</surname>
<given-names>T. P.</given-names>
</name>
<name>
<surname>Davenport</surname>
<given-names>R. J.</given-names>
</name>
<name>
<surname>Hall</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Head</surname>
<given-names>I. M.</given-names>
</name>
<etal/>
</person-group> (<year>2009</year>). <article-title>Accurate Determination of Microbial Diversity from 454 Pyrosequencing Data</article-title>. <source>Nat. Methods</source> <volume>6</volume> (<issue>9</issue>), <fpage>639</fpage>&#x2013;<lpage>641</lpage>. <pub-id pub-id-type="doi">10.1038/nmeth.1361</pub-id> </citation>
</ref>
<ref id="B31">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Quince</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Walker</surname>
<given-names>A. W.</given-names>
</name>
<name>
<surname>Simpson</surname>
<given-names>J.&#x20;T.</given-names>
</name>
<name>
<surname>Loman</surname>
<given-names>N. J.</given-names>
</name>
<name>
<surname>Segata</surname>
<given-names>N.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Shotgun Metagenomics, from Sampling to Analysis</article-title>. <source>Nat. Biotechnol.</source> <volume>35</volume> (<issue>9</issue>), <fpage>833</fpage>&#x2013;<lpage>844</lpage>. <pub-id pub-id-type="doi">10.1038/nbt.3935</pub-id> </citation>
</ref>
<ref id="B32">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Schloss</surname>
<given-names>P. D.</given-names>
</name>
<name>
<surname>Westcott</surname>
<given-names>S. L.</given-names>
</name>
<name>
<surname>Ryabin</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Hall</surname>
<given-names>J.&#x20;R.</given-names>
</name>
<name>
<surname>Hartmann</surname>
<given-names>M.</given-names>
</name>
<name>
<surname>Hollister</surname>
<given-names>E. B.</given-names>
</name>
<etal/>
</person-group> (<year>2009</year>). <article-title>Introducing Mothur: Open-Source, Platform-independent, Community-Supported Software for Describing and Comparing Microbial Communities</article-title>. <source>Appl. Environ. Microbiol.</source> <volume>75</volume> (<issue>23</issue>), <fpage>7537</fpage>&#x2013;<lpage>7541</lpage>. <pub-id pub-id-type="doi">10.1128/aem.01541-09</pub-id> </citation>
</ref>
<ref id="B33">
<citation citation-type="book">
<person-group person-group-type="author">
<name>
<surname>Team</surname>
<given-names>R. C.</given-names>
</name>
</person-group> (<year>2020</year>). <source>R: A Language and Environment for Statistical Computing</source>. <publisher-loc>Vienna, Austria</publisher-loc>: <publisher-name>R Foundation for Statistical Computing</publisher-name>. </citation>
</ref>
<ref id="B34">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Washburne</surname>
<given-names>A. D.</given-names>
</name>
<name>
<surname>Morton</surname>
<given-names>J.&#x20;T.</given-names>
</name>
<name>
<surname>Sanders</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>McDonald</surname>
<given-names>D.</given-names>
</name>
<name>
<surname>Zhu</surname>
<given-names>Q.</given-names>
</name>
<name>
<surname>Oliverio</surname>
<given-names>A. M.</given-names>
</name>
<etal/>
</person-group> (<year>2018</year>). <article-title>Methods for Phylogenetic Analysis of Microbiome Data</article-title>. <source>Nat. Microbiol.</source> <volume>3</volume> (<issue>6</issue>), <fpage>652</fpage>&#x2013;<lpage>661</lpage>. <pub-id pub-id-type="doi">10.1038/s41564-018-0156-0</pub-id> </citation>
</ref>
<ref id="B35">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Weisburg</surname>
<given-names>W. G.</given-names>
</name>
<name>
<surname>Barns</surname>
<given-names>S. M.</given-names>
</name>
<name>
<surname>Pelletier</surname>
<given-names>D. A.</given-names>
</name>
<name>
<surname>Lane</surname>
<given-names>D. J.</given-names>
</name>
</person-group> (<year>1991</year>). <article-title>16S Ribosomal DNA Amplification for Phylogenetic Study</article-title>. <source>J.&#x20;Bacteriol.</source> <volume>173</volume> (<issue>2</issue>), <fpage>697</fpage>&#x2013;<lpage>703</lpage>. <pub-id pub-id-type="doi">10.1128/jb.173.2.697-703.1991</pub-id> </citation>
</ref>
<ref id="B36">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wright</surname>
<given-names>M. N.</given-names>
</name>
<name>
<surname>Ziegler</surname>
<given-names>A.</given-names>
</name>
<name>
<surname>K&#xf6;nig</surname>
<given-names>I. R.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>Do little Interactions Get Lost in Dark Random Forests</article-title>. <source>BMC Bioinformatics</source> <volume>17</volume>, <fpage>145</fpage>. <pub-id pub-id-type="doi">10.1186/s12859-016-0995-8</pub-id> </citation>
</ref>
<ref id="B37">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wright</surname>
<given-names>M. N.</given-names>
</name>
<name>
<surname>Ziegler</surname>
<given-names>A.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>Ranger: A Fast Implementation of Random Forests for High Dimensional Data in C&#x2b;&#x2b; and R</article-title>. <source>J.&#x20;Stat. Softw.</source> <volume>77</volume> (<issue>1</issue>), <fpage>1</fpage>&#x2013;<lpage>17</lpage>. <pub-id pub-id-type="doi">10.18637/jss.v077.i01</pub-id> </citation>
</ref>
<ref id="B38">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Wu</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Kim</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Pan</surname>
<given-names>W.</given-names>
</name>
</person-group> (<year>2016</year>). <article-title>An Adaptive Association Test for Microbiome Data</article-title>. <source>Genome Med.</source> <volume>8</volume> (<issue>1</issue>), <fpage>56</fpage>. <pub-id pub-id-type="doi">10.1186/s13073-016-0302-3</pub-id> </citation>
</ref>
<ref id="B39">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Cao</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2017</year>). <article-title>False Discovery Rate Control Incorporating Phylogenetic Tree Increases Detection Power in Microbiome-wide Multiple Testing</article-title>. <source>Bioinformatics</source> <volume>33</volume> (<issue>18</issue>), <fpage>2873</fpage>&#x2013;<lpage>2881</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/btx311</pub-id> </citation>
</ref>
<ref id="B40">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Johnson</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>Predictive Modeling of Microbiome Data Using a Phylogeny-Regularized Generalized Linear Mixed Model</article-title>. <source>Front. Microbiol.</source> <volume>9</volume>, <fpage>1391</fpage>. <pub-id pub-id-type="doi">10.3389/fmicb.2018.01391</pub-id> </citation>
</ref>
<ref id="B41">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xiao</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>Y.</given-names>
</name>
<name>
<surname>Zhang</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>A Phylogeny-Regularized Sparse Regression Model for Predictive Modeling of Microbial Community Data</article-title>. <source>Front. Microbiol.</source> <volume>9</volume>, <fpage>3112</fpage>. <pub-id pub-id-type="doi">10.3389/fmicb.2018.03112</pub-id> </citation>
</ref>
<ref id="B42">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Xue</surname>
<given-names>R.</given-names>
</name>
<name>
<surname>Zhao</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Stirling</surname>
<given-names>E.</given-names>
</name>
<name>
<surname>Liu</surname>
<given-names>S.</given-names>
</name>
<name>
<surname>Ye</surname>
<given-names>S.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Deciphering Sample Size Effect on Microbial Biogeographic Patterns and Community Assembly Processes at Centimeter Scale</article-title>. <source>Soil Biol. Biochem.</source> <volume>156</volume>, <fpage>108218</fpage>. <pub-id pub-id-type="doi">10.1016/j.soilbio.2021.108218</pub-id> </citation>
</ref>
<ref id="B43">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zengler</surname>
<given-names>K.</given-names>
</name>
<name>
<surname>Zaramela</surname>
<given-names>L. S.</given-names>
</name>
</person-group> (<year>2018</year>). <article-title>The Social Network of Microorganisms - How Auxotrophies Shape Complex Communities</article-title>. <source>Nat. Rev. Microbiol.</source> <volume>16</volume> (<issue>6</issue>), <fpage>383</fpage>&#x2013;<lpage>390</lpage>. <pub-id pub-id-type="doi">10.1038/s41579-018-0004-5</pub-id> </citation>
</ref>
<ref id="B44">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhang</surname>
<given-names>L.</given-names>
</name>
<name>
<surname>Ma</surname>
<given-names>B.</given-names>
</name>
<name>
<surname>Tang</surname>
<given-names>C.</given-names>
</name>
<name>
<surname>Yu</surname>
<given-names>H.</given-names>
</name>
<name>
<surname>Lv</surname>
<given-names>X.</given-names>
</name>
<name>
<surname>Mazza Rodrigues</surname>
<given-names>J.&#x20;L.</given-names>
</name>
<etal/>
</person-group> (<year>2021</year>). <article-title>Habitat Heterogeneity Induced by Pyrogenic Organic Matter&#x20;in&#x20;Wildfire-Perturbed Soils Mediates Bacterial Community Assembly Processes</article-title>. <source>ISME J.</source> <volume>15</volume> (<issue>7</issue>), <fpage>1943</fpage>&#x2013;<lpage>1955</lpage>. <pub-id pub-id-type="doi">10.1038/s41396-021-00896-z</pub-id> </citation>
</ref>
<ref id="B45">
<citation citation-type="journal">
<person-group person-group-type="author">
<name>
<surname>Zhao</surname>
<given-names>N.</given-names>
</name>
<name>
<surname>Chen</surname>
<given-names>J.</given-names>
</name>
<name>
<surname>Carroll</surname>
<given-names>I. M.</given-names>
</name>
<name>
<surname>Ringel-Kulka</surname>
<given-names>T.</given-names>
</name>
<name>
<surname>Epstein</surname>
<given-names>M. P.</given-names>
</name>
<name>
<surname>Zhou</surname>
<given-names>H.</given-names>
</name>
<etal/>
</person-group> (<year>2015</year>). <article-title>Testing in Microbiome-Profiling Studies with MiRKAT, the Microbiome Regression-Based Kernel Association Test</article-title>. <source>Am. J.&#x20;Hum. Genet.</source> <volume>96</volume> (<issue>5</issue>), <fpage>797</fpage>&#x2013;<lpage>807</lpage>. <pub-id pub-id-type="doi">10.1016/j.ajhg.2015.04.003</pub-id> </citation>
</ref>
</ref-list>
</back>
</article>