<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!DOCTYPE article PUBLIC "-//NLM//DTD Journal Archiving and Interchange DTD v2.3 20070202//EN" "archivearticle.dtd">
<article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" article-type="methods-article">
<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="doi">10.3389/fgene.2021.656637</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>Recovering Spatially-Varying Cell-Specific Gene Co-expression Networks for Single-Cell Spatial Expression Data</article-title>
</title-group>
<contrib-group>
<contrib contrib-type="author">
<name><surname>Yu</surname> <given-names>Jinge</given-names></name>
<uri xlink:href="http://loop.frontiersin.org/people/1177890/overview"/>
</contrib>
<contrib contrib-type="author" corresp="yes">
<name><surname>Luo</surname> <given-names>Xiangyu</given-names></name>
<xref ref-type="corresp" rid="c001"><sup>&#x0002A;</sup></xref>
<uri xlink:href="http://loop.frontiersin.org/people/1123110/overview"/>
</contrib>
</contrib-group>
<aff><institution>Institute of Statistics and Big Data, Renmin University of China</institution>, <addr-line>Beijing</addr-line>, <country>China</country></aff>
<author-notes>
<fn fn-type="edited-by"><p>Edited by: Jiebiao Wang, University of Pittsburgh, United States</p></fn>
<fn fn-type="edited-by"><p>Reviewed by: Jinjin Tian, Carnegie Mellon University, United States; Hao Dai, Chinese Academy of Sciences (CAS), China</p></fn>
<corresp id="c001">&#x0002A;Correspondence: Xiangyu Luo <email>xiangyuluo&#x00040;ruc.edu.cn</email></corresp>
<fn fn-type="other" id="fn001"><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>26</day>
<month>04</month>
<year>2021</year>
</pub-date>
<pub-date pub-type="collection">
<year>2021</year>
</pub-date>
<volume>12</volume>
<elocation-id>656637</elocation-id>
<history>
<date date-type="received">
<day>21</day>
<month>01</month>
<year>2021</year>
</date>
<date date-type="accepted">
<day>18</day>
<month>03</month>
<year>2021</year>
</date>
</history>
<permissions>
<copyright-statement>Copyright &#x000A9; 2021 Yu and Luo.</copyright-statement>
<copyright-year>2021</copyright-year>
<copyright-holder>Yu and Luo</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 terms.</p></license> </permissions>
<abstract><p>Recent advances in single-cell technologies enable spatial expression profiling at the cell level, making it possible to elucidate spatial changes of cell-specific genomic features. The gene co-expression network is an important feature that encodes the gene-gene marginal dependence structure and allows for the functional annotation of highly connected genes. In this paper, we design a simple and computationally efficient two-step algorithm to recover spatially-varying cell-specific gene co-expression networks for single-cell spatial expression data. The algorithm first estimates the gene expression covariance matrix for each cell type and then leverages the spatial locations of cells to construct cell-specific networks. The second step uses expression covariance matrices estimated in step one and label information from neighboring cells as an empirical prior to obtain thresholded Bayesian posterior estimates. After completing estimates for each cell, this algorithm can further predict or interpolate gene co-expression networks on tissue positions where cells are not captured. In the simulation study, the comparison against the traditional cell-type-specific network algorithms and the cell-specific network method but without incorporating spatial information highlights the advantages of the proposed algorithm in estimation accuracy. We also applied our algorithm to real-world datasets and found some meaningful biological results. The accompanied software is available on <ext-link ext-link-type="uri" xlink:href="https://github.com/jingeyu/CSSN">https://github.com/jingeyu/CSSN</ext-link>.</p></abstract>
<kwd-group>
<kwd>Bayesian posterior estimates</kwd>
<kwd>cell-specific</kwd>
<kwd>gene co-expression network</kwd>
<kwd>prediction</kwd>
<kwd>single-cell spatial expression</kwd>
<kwd>neighborhood</kwd>
</kwd-group>
<counts>
<fig-count count="9"/>
<table-count count="1"/>
<equation-count count="4"/>
<ref-count count="31"/>
<page-count count="12"/>
<word-count count="6474"/>
</counts>
</article-meta>
</front>
<body>
<sec sec-type="intro" id="s1">
<title>1. Introduction</title>
<p>The last decade witnesses that the single-cell RNA-sequencing has revolutionized the focus of genomic analyses from bulk samples to single cells, but the technology loses important cell spatial information during tissue dissociation. Fortunately, recent technological advances have allowed for measurements of the gene expression levels at single-cell resolution while retaining the coordinates of cells in the tissue section (Chen et al., <xref ref-type="bibr" rid="B5">2015</xref>; Moffitt et al., <xref ref-type="bibr" rid="B17">2018</xref>; Wang et al., <xref ref-type="bibr" rid="B28">2018</xref>). Specifically, various spatially resolved transcriptomic techniques have been developed to profile single-cell expression with cells&#x00027; spatial information, including MERFISH (Chen et al., <xref ref-type="bibr" rid="B5">2015</xref>), seqFISH (Lubeck et al., <xref ref-type="bibr" rid="B16">2014</xref>), and FISSEQ (Lee et al., <xref ref-type="bibr" rid="B13">2014</xref>), just to name a few. They are mainly based on either <italic>in situ</italic> hybridization or <italic>in situ</italic> sequencing. Fluorescence <italic>in situ</italic> hybridization (FISH) based approaches can measure hundreds of preselected marker genes, while <italic>in situ</italic> sequencing based approaches can measure thousands of transcripts. Moreover, different techniques may have different strategies to capture transcriptomic spatial information. For example, MERFISH adopts an imaging-based way to map transcriptomic spatial organization for a three-dimensional tissue region. Usually, the region needs to be first sectioned into evenly spaced slices, and MERFISH is then performed on these slices, resulting in two-dimensional localization information. The information makes it possible to investigate spatial and functional organization of cells.</p>
<p>The amazing biological progress also offers rich opportunities to investigate the spatial patterns of cell-specific genomic features (Zhang et al., <xref ref-type="bibr" rid="B31">2020</xref>). When features are genes, Sun et al. (<xref ref-type="bibr" rid="B25">2020</xref>) developed a statistical method to identify genes with spatially differential expressions. Li D. et al. (<xref ref-type="bibr" rid="B14">2020</xref>) utilized an expert system to predict signaling gene expression using information from nearby cells. However, as observed gene expressions may suffer from systematic biases (K&#x000F6;ster et al., <xref ref-type="bibr" rid="B12">2019</xref>) and are dynamically driven by an underlying regulation system, it is of more interest to study a more stable feature&#x02014;gene co-expression network&#x02014;(Dai et al., <xref ref-type="bibr" rid="B8">2019</xref>) and learn its spatial pattern from one cell to another.</p>
<p>The gene co-expression network (Butte and Kohane, <xref ref-type="bibr" rid="B2">2000</xref>; Stuart et al., <xref ref-type="bibr" rid="B21">2003</xref>; Carter et al., <xref ref-type="bibr" rid="B4">2004</xref>) can be encoded in an undirected graph, where nodes correspond to genes and an edge between nodes A and B indicates a significant association between expressions of the genes A and B. It has important biological applications including functional annotation for a set of unknown but highly connected genes (Serin et al., <xref ref-type="bibr" rid="B20">2016</xref>) and single cell expression simulation (Tian et al., <xref ref-type="bibr" rid="B26">2021</xref>). The pipeline to construct gene co-expression networks usually consists of two steps (Zhang and Horvath, <xref ref-type="bibr" rid="B30">2005</xref>). In step one, we adopt a similarity measure (e.g., the absolute value of Pearson correlation) and calculate the similarity for all pairs of genes. In step two, we choose a threshold and genes with similarity larger than the threshold are thought of as co-expressed. Following the pipeline, Dai et al. (<xref ref-type="bibr" rid="B8">2019</xref>) proposed a hypothesis testing based approach to estimate cell-specific gene co-expression network, which is a breakthrough from &#x0201C;cell-type-specific&#x0201D; to &#x0201C;cell-specific&#x0201D; since most computational network methods for single-cell expression are restricted to a group of cells and ignore cell heterogeneity. Li L. et al. (<xref ref-type="bibr" rid="B15">2020</xref>) extends the approach to a conditional cell-specific network situation. Unfortunately, the method (Dai et al., <xref ref-type="bibr" rid="B8">2019</xref>) does not incorporate the spatial information of cells and thus may lose power in estimating cell-specific gene co-expression structures, let alone carry out network prediction given a new cell location in the tissue.</p>
<p>To overcome the challenges, we present an easy-to-implement and computationally efficient two-step algorithm to recover cell-specific gene co-expression networks for single-cell spatial expression data. The input of the proposed algorithm is comprised of the spatial locations of cells, cell labels, as well as the gene-cell expression matrix (<xref ref-type="fig" rid="F1">Figure 1A</xref>). If cell label information is not available, we can first carry out clustering using single-cell expression data clustering tools (Butler et al., <xref ref-type="bibr" rid="B1">2018</xref>; Stuart et al., <xref ref-type="bibr" rid="B22">2019</xref>). In step one, we estimate the sample expression covariance matrix for each cell type, which serves as the &#x0201C;average&#x0201D; of the cell-specific covariance matrices in a given cell type (<xref ref-type="fig" rid="F1">Figure 1B</xref>). In step two, for any given cell, we find its appropriate neighborhood and combine the cell label proportions in the neighborhood and the cell-type covariance matrices estimated in step one to assign an empirical prior to the covariance matrix of that cell. Subsequently, we apply the Bayes&#x00027; rule to obtain the posterior mean estimates, transform it to the correlation matrix, and select a threshold to shrink absolute values of correlations less than it to zero, resulting in the cell&#x00027;s gene co-expression network (<xref ref-type="fig" rid="F1">Figure 1B</xref>). After completing the estimates for each cell, we can further predict the network structures for a position where cells are not detected. We set a neighborhood of the location like in the estimation step two, and then an edge is present if and only if this edge appears more than or equal to half times among the gene networks of its neighboring cells (<xref ref-type="fig" rid="F1">Figure 1C</xref>).</p>
<fig id="F1" position="float">
<label>Figure 1</label>
<caption><p>An illustration of the two-step algorithm. <bold>(A)</bold> The input of the algorithm, including spatial coordinates of cells, the gene-cell expression matrix, and cell class information. Different shapes and colors represent different types of cells. <bold>(B)</bold> The two steps in the proposed algorithm. We first estimate cell-type covariance matrices, and then we use those estimates to refine cell-specific gene co-expression networks. <bold>(C)</bold> Gene co-expression network prediction based on the estimates from <bold>(B)</bold>.</p></caption>
<graphic xlink:href="fgene-12-656637-g0001.tif"/>
</fig>
<p>In the following, we introduce our proposed algorithm in detail in section 2. Section 3 provides the simulation study to compare the two-step algorithm against competing methods including traditional network construction methods (Zhang and Horvath, <xref ref-type="bibr" rid="B30">2005</xref>) based on a group of cells and the cell-specific network construction approach (Dai et al., <xref ref-type="bibr" rid="B8">2019</xref>). We use MERFISH data to demonstrate the good utility of the algorithm in section 4 and conclude the paper with a discussion in section 5.</p></sec>
<sec id="s2">
<title>2. Method</title>
<p>We first give some notations to clearly express the data preprocessing and our algorithm. Suppose that expression levels of <italic>G</italic> genes in <italic>n</italic> cells are measured and the expression of gene <italic>g</italic> in cell <italic>i</italic> is denoted by <italic>X</italic><sub><italic>gi</italic></sub>. We let <bold>X</bold> &#x0003D; (<sub><italic>X</italic><sub><italic>gi</italic></sub>)<italic>G</italic>&#x000D7;<italic>n</italic></sub> represent the gene-cell expression matrix and use <bold>X</bold><sub><italic>i</italic></sub> to denote the <italic>ith</italic> column vector. The coordinates of cell <italic>i</italic> in the tissue section are denoted by (&#x02113;<sub><italic>i</italic></sub>, <italic>h</italic><sub><italic>i</italic></sub>). We further assume that cells are from <italic>K</italic> distinct cell types and <italic>C</italic><sub><italic>i</italic></sub> indicates the membership of cell <italic>i</italic>. In other words, <italic>C</italic><sub><italic>i</italic></sub> &#x0003D; <italic>k</italic> (<italic>k</italic> &#x0003D; 1, &#x02026;, <italic>K</italic>) implies that cell <italic>i</italic> belongs to cell type <italic>k</italic>. Notice that the cell labels <bold>C</bold> &#x0003D; (<italic>C</italic><sub>1</sub>, &#x02026;, <italic>C</italic><sub><italic>n</italic></sub>) are assumed to be known in advance, and in case the cell label information is not available we can cluster cells using off-the-shelf single-cell expression tools. <italic>n</italic><sub><italic>k</italic></sub> is the cell number in cell type <italic>k</italic>, and <bold>S</bold><sub><italic>k</italic></sub> represents the index set {<italic>i</italic>:<italic>C</italic><sub><italic>i</italic></sub> &#x0003D; <italic>k</italic>}.</p>
<p>During data preprocessing, we need to normalize raw read count data to reduce the effects of different library sizes and other systematic biases. As we are interested in the pairwise gene correlations, the normalized expression values are further centered to zero and scaled to variance one within each cell type. If we still use <italic>X</italic><sub><italic>gi</italic></sub> to represent the normalized expression, then the transformed value is as follows. When <italic>C</italic><sub><italic>i</italic></sub> &#x0003D; <italic>k</italic>,</p>
<disp-formula id="E1"><mml:math id="M1"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>S</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mstyle><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:msqrt><mml:mrow><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>S</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mstyle><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:mstyle displaystyle="true"><mml:msub><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>j</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mi>S</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:mstyle><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:mrow></mml:msqrt></mml:mrow></mml:mfrac><mml:mo>.</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>Next, we utilize the scaled expression matrix <inline-formula><mml:math id="M2"><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> and its <italic>ith</italic> column vector <inline-formula><mml:math id="M3"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> in our algorithm.</p>
<p>In step one, we derive the sample expression covariance matrix for each cell type, which serves as the &#x0201C;average&#x0201D; of all cell-specific expression covariance matrices in that cell type and hence can be treated as an initial and coarse-grained estimate of the expression covariance matrix for each cell. Specifically, for cell type <italic>k</italic>, its sample expression covariance matrix is estimated by <inline-formula><mml:math id="M4"><mml:msup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>:</mml:mo><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:mfrac><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>&#x02208;</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>S</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup></mml:math></inline-formula> (1 &#x02264; <italic>k</italic> &#x02264; <italic>K</italic>).</p>
<p>In step two, suppose the gene expression covariance matrix of cell <italic>i</italic> is denoted by <bold>&#x003A3;</bold><sub><italic>i</italic></sub>. Biologically, <bold>&#x003A3;</bold><sub><italic>i</italic></sub> depends on both cell <italic>i</italic>&#x00027;s cell type as well as cell <italic>i</italic>&#x00027;s spatial circumstances. Taking this into account, we assume the following Bayesian statistical model for the observations,</p>
<disp-formula id="E2"><label>(1)</label><mml:math id="M5"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>&#x0007E;</mml:mo><mml:mrow><mml:mi mathvariant="-tex-caligraphic">N</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mn>0</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<disp-formula id="E3"><label>(2)</label><mml:math id="M6"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mtd><mml:mtd><mml:mo>&#x0007E;</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">W</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A8;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>&#x003BD;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where <inline-formula><mml:math id="M7"><mml:mrow><mml:mi mathvariant="-tex-caligraphic">N</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mn>0</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is a multivariate normal distribution with mean vector zero and covariance matrix &#x003A3;<sub><italic>i</italic></sub>, and <inline-formula><mml:math id="M8"><mml:msup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">W</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A8;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mi>&#x003BD;</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is an inverse-Wishart distribution with scale matrix <bold>&#x003A8;</bold><sub><italic>i</italic></sub> and &#x003BD; degrees of freedom.</p>
<p>Equation (1) corresponds to the data-generating mechanism in which cell <italic>i</italic>&#x00027;s observation is sampled from its own distribution parameterized by <bold>&#x003A3;</bold><sub><italic>i</italic></sub>. In the normal distribution, a zero element in <bold>&#x003A3;</bold><sub><italic>i</italic></sub> indicates that the corresponding two genes are independent, so <bold>&#x003A3;</bold><sub><italic>i</italic></sub> fully captures the gene co-expression network structure of cell <italic>i</italic>. Equation (2) reflects that we need to provide prior information for <bold>&#x003A3;</bold><sub><italic>i</italic></sub> to stabilize the estimate of <bold>&#x003A3;</bold><sub><italic>i</italic></sub>; otherwise, only one sample is available, making the common maximal likelihood estimate very sensitive. We employ the inverse-Wishart distribution here as it is conjugate to the multivariate normal distribution (Gelman et al., <xref ref-type="bibr" rid="B9">2013</xref>), which can enhance fast calculation of posterior estimates. Accordingly, we aim to borrow information from cell <italic>i</italic>&#x00027;s neighbors to define the hyper-parameter in the prior&#x02014;the scale matrix <bold>&#x003A8;</bold><sub><italic>i</italic></sub>.</p>
<p>For each cell, we define its neighborhood as a square region with side length 2<italic>r</italic> and center at the location of the cell (<xref ref-type="fig" rid="F1">Figure 1B</xref>). The choice of <italic>r</italic> depends on the cell density in the tissue section and our knowledge about the number of informative neighboring cells. We define the cell density as the ratio of the cell number (<italic>n</italic>) to the area where cells locate (<italic>A</italic>). As the area shape is often like a rectangle, we estimate <italic>A</italic> by <inline-formula><mml:math id="M9"><mml:mi>&#x000C2;</mml:mi><mml:mo>:</mml:mo><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">max</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>&#x02113;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>&#x02113;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">max</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:munder class="msub"><mml:mrow><mml:mo class="qopname">min</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>h</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. If we believe that on average each cell has <italic>m</italic><sub><italic>info</italic></sub> informative neighboring cells, we then have the relationship <inline-formula><mml:math id="M10"><mml:mi>n</mml:mi><mml:mo>/</mml:mo><mml:mi>&#x000C2;</mml:mi><mml:mo>&#x000D7;</mml:mo><mml:mn>4</mml:mn><mml:msup><mml:mrow><mml:mi>r</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>f</mml:mi><mml:mi>o</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, leading to <inline-formula><mml:math id="M11"><mml:mi>r</mml:mi><mml:mo>=</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>5</mml:mn><mml:msqrt><mml:mrow><mml:msub><mml:mrow><mml:mi>m</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>n</mml:mi><mml:mi>f</mml:mi><mml:mi>o</mml:mi></mml:mrow></mml:msub><mml:mi>&#x000C2;</mml:mi><mml:mo>/</mml:mo><mml:mi>n</mml:mi></mml:mrow></mml:msqrt></mml:math></inline-formula>. Based on our experience, we set <italic>m</italic><sub><italic>info</italic></sub> &#x0003D; 70 throughout our paper. Subsequently, we count the number of cells in this square region for each cell type and calculate proportions (&#x003C9;<sub><italic>i</italic>1</sub>, &#x02026;, &#x003C9;<sub><italic>iK</italic></sub>) with &#x003C9;<sub><italic>ik</italic></sub>&#x02265;0 and <inline-formula><mml:math id="M12"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>&#x003C9;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:math></inline-formula>, where &#x003C9;<sub><italic>ik</italic></sub> is the proportion of type <italic>k</italic> cells in the neighborhood of cell <italic>i</italic>.</p>
<p>Next, we assign the weighted value <inline-formula><mml:math id="M13"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>&#x003C9;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula> to the prior mean of <bold>&#x003A3;</bold><sub><italic>i</italic></sub>, which is <bold>&#x003A8;</bold><sub><italic>i</italic></sub>/(&#x003BD;&#x02212;<italic>G</italic>&#x02212;1), resulting in the scale matrix <inline-formula><mml:math id="M14"><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A8;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BD;</mml:mi><mml:mo>-</mml:mo><mml:mi>G</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>&#x003C9;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup></mml:math></inline-formula>. This prior reflects the information of nearby cells and helps stabilize the estimate of <bold>&#x003A3;</bold><sub><italic>i</italic></sub>. We remark that the choice of the hyper-parameter <bold>&#x003A8;</bold><sub><italic>i</italic></sub> depends on the data we are analyzing, so strictly speaking the approach is not fully Bayesian (Gelman et al., <xref ref-type="bibr" rid="B9">2013</xref>).</p>
<p>Given the assigned prior, we estimate <bold>&#x003A3;</bold><sub><italic>i</italic></sub> by the posterior mean,</p>
<disp-formula id="E4"><mml:math id="M15"><mml:mtable class="eqnarray" columnalign="right center left"><mml:mtr><mml:mtd><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>:</mml:mo><mml:mo>=</mml:mo><mml:mi>E</mml:mi><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x003BD;</mml:mi><mml:mo>-</mml:mo><mml:mi>G</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A8;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mtd></mml:mtr><mml:mtr><mml:mtd><mml:mtext>&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;&#x000A0;</mml:mtext><mml:mo>=</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>&#x003BD;</mml:mi><mml:mo>-</mml:mo><mml:mi>G</mml:mi></mml:mrow></mml:mfrac><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>&#x003BD;</mml:mi><mml:mo>-</mml:mo><mml:mi>G</mml:mi><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mstyle displaystyle="true"><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover></mml:mstyle><mml:msub><mml:mrow><mml:mi>&#x003C9;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:msubsup><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mo>&#x0007E;</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msubsup></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow><mml:mo>,</mml:mo></mml:mtd></mml:mtr></mml:mtable></mml:math></disp-formula>
<p>where we set &#x003BD; to 2<italic>G</italic> depending on the number of genes. <inline-formula><mml:math id="M16"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula> is then transformed to its corresponding correlation matrix <inline-formula><mml:math id="M17"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>R</mml:mtext></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mtext>diag</mml:mtext><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mtext>diag</mml:mtext><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mn>2</mml:mn></mml:mrow></mml:msup></mml:math></inline-formula>, where <inline-formula><mml:math id="M18"><mml:mtext>diag</mml:mtext><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> is a diagonal matrix with diagonal elements the same as those of <inline-formula><mml:math id="M19"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>. Finally, we select a threshold <italic>d</italic> (0 &#x0003C; <italic>d</italic> &#x0003C;1), and if the (<italic>g</italic><sub>1</sub>, <italic>g</italic><sub>2</sub>) element of the matrix <inline-formula><mml:math id="M20"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>R</mml:mtext></mml:mstyle></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M21"><mml:msub><mml:mrow><mml:mover accent="false"><mml:mrow><mml:mi>R</mml:mi></mml:mrow><mml:mo>^</mml:mo></mml:mover></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, has an absolute value larger than <italic>d</italic>, then we believe there is an edge between gene <italic>g</italic><sub>1</sub> and <italic>g</italic><sub>2</sub> in the gene co-expression network of cell <italic>i</italic>. Algorithm 1 displays the two-step estimation procedure.</p>
<p><inline-graphic xlink:href="fgene-12-656637-i0001.tif"/></p>
<p>After completing the network structure estimates for all cells, we can take advantage of the estimates to predict the gene co-expression network for any missing cell with a position in the studied tissue section area. If we are interested in an undetected cell at a new location (&#x02113;<sup>&#x0002A;</sup>, <italic>h</italic><sup>&#x0002A;</sup>), its gene co-expression network is constructed as follows. We first find all detected cells in the neighborhood of (&#x02113;<sup>&#x0002A;</sup>, <italic>h</italic><sup>&#x0002A;</sup>), and then we believe an edge between genes <italic>g</italic><sub>1</sub> and <italic>g</italic><sub>2</sub> in the prediction if there are more connections than disconnections for this pair of genes among the gene networks of (&#x02113;<sup>&#x0002A;</sup>, <italic>h</italic><sup>&#x0002A;</sup>)&#x00027;s neighboring detected cells. Algorithm 2 shows the steps of making gene co-expression network predictions.</p>
<p><inline-graphic xlink:href="fgene-12-656637-i0002.tif"/></p>
</sec>
<sec id="s3">
<title>3. Simulation Study</title>
<p>In this section, we used simulated data to evaluate the performance of the proposed two-step algorithm. We set the gene number <italic>G</italic> &#x0003D; 100, the cell-type number <italic>K</italic> &#x0003D; 5, and the cell number for each cell type (<italic>n</italic><sub>1</sub>, <italic>n</italic><sub>2</sub>, <italic>n</italic><sub>3</sub>, <italic>n</italic><sub>4</sub>, <italic>n</italic><sub>5</sub>) = (394, 373, 428, 274, 529). We chose a rectangle area as the tissue section with length <italic>L</italic> &#x0003D; 1, 000 and width <italic>H</italic> &#x0003D; 750, where a total of <inline-formula><mml:math id="M31"><mml:mi>n</mml:mi><mml:mo>=</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>n</mml:mi></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:mn>1998</mml:mn></mml:math></inline-formula> cells distribute on the section and display clear spatial patterns (<xref ref-type="fig" rid="F2">Figure 2A</xref>). For example, cells from cell-type 5 concentrate on the left side, while cells from cell-type 1 enrich on the right side.</p>
<fig id="F2" position="float">
<label>Figure 2</label>
<caption><p>Cells&#x00027; spatial pattern and performance comparisons on the network structure recovery. <bold>(A)</bold> Cells&#x00027; spatial pattern. Different shapes and colors correspond to different types of cells. <bold>(B)</bold> ROC curves of the two-step algorithm, WGCNA, CTS, CSN-joint, and CSN-separate.</p></caption>
<graphic xlink:href="fgene-12-656637-g0002.tif"/>
</fig>
<p>We then generated cell-type-specific covariance matrices <bold>&#x003A3;</bold><sup>(<italic>k</italic>)</sup> for <italic>k</italic> &#x0003D; 1, &#x02026;, <italic>K</italic>. Genes that work together often form a gene module, which can exhibit a block structure in the covariance matrix. Hence, the covariance matrix of each cell type was set as a block diagonal matrix, where each block was a 20 &#x000D7;20 positive definite matrix. Five different modules were used for this purpose and were as follows.</p>
<list list-type="bullet">
<list-item><p>In module 1 (<inline-formula><mml:math id="M32"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>), its (<italic>i, j</italic>) element <inline-formula><mml:math id="M33"><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mi>&#x003C1;</mml:mi></mml:mrow><mml:mrow><mml:mo>|</mml:mo><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mi>j</mml:mi><mml:mo>|</mml:mo></mml:mrow></mml:msup><mml:mo>&#x0002B;</mml:mo><mml:mn>0</mml:mn><mml:mo>.</mml:mo><mml:mn>5</mml:mn><mml:mstyle mathvariant="bold"><mml:mtext>I</mml:mtext></mml:mstyle><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mi>j</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> for 1 &#x02264; <italic>i</italic> &#x02264; 20 and 1 &#x02264; <italic>j</italic> &#x02264; 20, where <bold>I</bold>(<italic>A</italic>) is an indicator function of event <italic>A</italic>. We took &#x003C1; &#x0003D; 0.7.</p></list-item>
<list-item><p>In module 2 (<inline-formula><mml:math id="M34"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>), <inline-formula><mml:math id="M35"><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>|</mml:mo><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mi>j</mml:mi><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mn>10</mml:mn></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula>, which forms a banded matrix. The function (<italic>x</italic>)<sub>&#x0002B;</sub> equals <italic>x</italic> for <italic>x</italic>&#x02265;0 and zero for <italic>x</italic> &#x0003C;0.</p></list-item>
<list-item><p>In module 3 (<inline-formula><mml:math id="M36"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>), &#x003C3;<sub><italic>ij</italic></sub> &#x0003D; &#x003C1;<bold>I</bold>(|<italic>i</italic>&#x02212;<italic>j</italic>| &#x0003D; 1)&#x0002B;1.3<bold>I</bold>(<italic>i</italic> &#x0003D; <italic>j</italic>) for &#x003C1; &#x0003D; &#x02212;0.3.</p></list-item>
<list-item><p>In module 4 (<inline-formula><mml:math id="M37"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>), <inline-formula><mml:math id="M38"><mml:msub><mml:mrow><mml:mi>&#x003C3;</mml:mi></mml:mrow><mml:mrow><mml:mi>j</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mn>1</mml:mn><mml:mo>-</mml:mo><mml:mfrac><mml:mrow><mml:mo>|</mml:mo><mml:mi>i</mml:mi><mml:mo>-</mml:mo><mml:mi>j</mml:mi><mml:mo>|</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi></mml:mrow></mml:mfrac></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mo>&#x0002B;</mml:mo></mml:mrow></mml:msub></mml:math></inline-formula>, where <italic>k</italic> &#x0003D; &#x0230A;<italic>G</italic>/2&#x0230B;.</p></list-item>
<list-item><p>In module 5 (<inline-formula><mml:math id="M39"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>), the block was <italic>F</italic>&#x0002B;&#x003F5;<italic>I</italic><sub>20 &#x000D7;20</sub>. <italic>I</italic><sub>20 &#x000D7;20</sub> is an identity matrix. <italic>F</italic> &#x0003D; (<sub><italic>f</italic><sub><italic>ij</italic></sub>)20 &#x000D7;20</sub> is a symmetric matrix with independent upper triangle elements <italic>f</italic><sub><italic>ij</italic></sub> &#x0003D; <italic>unif</italic>(&#x02212;0.2, 0.8) &#x000D7; <italic>Ber</italic>(1, 0.2), where <italic>unif</italic>(&#x02212;0.2, 0.8) is a random variable uniformly distributed on(&#x02212;0.2, 0.8), and <italic>Ber</italic>(1, 0.2) is a Bernoulli random variable with the success probability 0.2. We set &#x003F5; &#x0003D; max{&#x02212;&#x003BB;<sub>min</sub>(<italic>F</italic>), 0}&#x0002B;0.01 to ensure that <italic>B</italic> is positive definite, where &#x003BB;<sub>min</sub>(<italic>F</italic>) is the smallest eigenvalue of <italic>F</italic>.</p></list-item>
</list>
<p>If we denote a block diagonal matrix with diagonal blocks being <inline-formula><mml:math id="M40"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M41"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M42"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M43"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M44"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula> in the order from the upper left to the lower right by <inline-formula><mml:math id="M45"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M46"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M47"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M48"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M49"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>i</mml:mi></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, then we specify <bold>&#x003A3;</bold><sup>(1)</sup>=<inline-formula><mml:math id="M50"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M51"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M52"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M53"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M54"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, <bold>&#x003A3;</bold><sup>(2)</sup>=<inline-formula><mml:math id="M55"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M56"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M57"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M58"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M59"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, <bold>&#x003A3;</bold><sup>(3)</sup>=<inline-formula><mml:math id="M60"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M61"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M62"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M63"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M64"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, <bold>&#x003A3;</bold><sup>(4)</sup>=<inline-formula><mml:math id="M65"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M66"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M67"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M68"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M69"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>, and <bold>&#x003A3;</bold><sup>(5)</sup>=<inline-formula><mml:math id="M70"><mml:mo stretchy="false">(</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>3</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M71"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M72"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>5</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M73"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub></mml:math></inline-formula>, <inline-formula><mml:math id="M74"><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">M</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mn>4</mml:mn></mml:mrow></mml:msub><mml:mo stretchy="false">)</mml:mo></mml:math></inline-formula>.</p>
<p>Next, we generated the cell-specific gene expression covariance matrix for each cell <italic>i</italic>. We first obtained the neighborhood of cell <italic>i</italic> using <italic>r</italic> &#x0003D; 80, then calculated cell-type proportions <italic>q</italic><sub><italic>ik</italic></sub>, 1 &#x02264; <italic>k</italic> &#x02264; <italic>K</italic> in the neighborhood, and sampled <bold>&#x003A3;</bold><sub><italic>i</italic></sub> from the inverse-Wishart distribution <inline-formula><mml:math id="M75"><mml:msup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">W</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mo>-</mml:mo><mml:mn>1</mml:mn></mml:mrow></mml:msup><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>k</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>K</mml:mi></mml:mrow></mml:munderover><mml:msub><mml:mrow><mml:mi>q</mml:mi></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mi>k</mml:mi></mml:mrow></mml:msub><mml:msup><mml:mrow><mml:mstyle mathvariant="bold"><mml:mn>49</mml:mn><mml:mi>&#x003A3;</mml:mi></mml:mstyle></mml:mrow><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mi>k</mml:mi></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow></mml:msup><mml:mo>,</mml:mo><mml:mi>G</mml:mi><mml:mo>&#x0002B;</mml:mo><mml:mn>50</mml:mn></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula>. Moreover, to make the network sparse and covariance matrix positive definite, non-diagonal elements in the <bold>&#x003A3;</bold><italic><sub>i</sub></italic> with absolute values less than 0.5 were shrunk to zero, and the diagonal elements in <bold>&#x003A3;</bold><sub><italic>i</italic></sub> were added by five. Finally, we sampled the observed gene-cell expression matrix <inline-formula><mml:math id="M76"><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mtext>X</mml:mtext></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>=</mml:mo><mml:msup><mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>,</mml:mo><mml:mo>&#x02026;</mml:mo><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>X</mml:mi></mml:mrow><mml:mrow><mml:mi>G</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:mrow><mml:mrow><mml:mi>T</mml:mi></mml:mrow></mml:msup></mml:math></inline-formula> from the multivariate normal distribution <inline-formula><mml:math id="M77"><mml:mrow><mml:mi mathvariant="-tex-caligraphic">N</mml:mi></mml:mrow><mml:mrow><mml:mo stretchy="false">(</mml:mo><mml:mrow><mml:mstyle mathvariant="bold"><mml:mn>0</mml:mn></mml:mstyle><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mstyle mathvariant="bold"><mml:mo>&#x003A3;</mml:mo></mml:mstyle></mml:mrow><mml:mrow><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow><mml:mo stretchy="false">)</mml:mo></mml:mrow></mml:math></inline-formula> for 1 &#x02264; <italic>i</italic> &#x02264; <italic>n</italic>.</p>
<p>To show the advantage of our algorithm in estimating cell-specific gene expression matrix, we compared it against the weighted gene co-expression network analysis (denoted by WGCNA) (Zhang and Horvath, <xref ref-type="bibr" rid="B30">2005</xref>), the traditional hard-thresholding cell-type-specific network estimation approach (denoted by CTS), and the cell-specific gene network estimation method that does not make use of cell spatial information (denoted by CSN, Dai et al., <xref ref-type="bibr" rid="B8">2019</xref>). Specifically, in WGCNA, we first calculated pairwise gene expression similarity using the absolute values of Pearson correlations, then utilized the &#x0201C;soft&#x0201D; power adjacency function to convert the similarity matrix, and finally obtain the topological overlap matrix based on the adjacency matrix. Regarding CTS, we used the cell-type-level gene network as the estimate for each cell in that cell type. For CSN, we adopted two versions: in the joint version (CSN-joint), we used the gene-cell expression matrix for all cells as the input of the CSN method; and in the separate version (CSN-separate), we only input the gene-cell expression matrix for cells coming from one cell type, repeat the procedure for each cell type, and also obtain cell-specific network estimates. In other words, for CSN-separate, the estimations for one cell only rely on the information of cells from the same cell type.</p>
<p><xref ref-type="fig" rid="F2">Figure 2B</xref> provides the receiver operating characteristic (ROC) curves for network structure recovery of the proposed algorithm (denoted by two-step algorithm) and other four competing approaches (WGCNA, CTS, CSN-joint, CSN-separate). The horizontal axis represents the false positive rate (FPR), which equals the ratio of the number of edges that were wrongly detected by the method for all cells to the number of absent edges in the underlying true networks for all cells, while the vertical axis corresponds to the true positive rate (TPR), describing the ratio of the number of edges that were correctly detected by the method for all cells to the number of edges in the underlying true networks for all cells. It is observed that the ROC curve of our algorithm is uniformly over the ROC curves of the other four approaches, indicating that given any FPR the TPR of the proposed algorithm is always higher than that of the other four competing methods. As WGCNA also estimates cell-type-specific networks, it does not outperform our algorithm but is slightly better than traditional CTS.</p>
<p><xref ref-type="fig" rid="F3">Figure 3</xref> displays heatmaps of gene co-expression matrix of the cell with the coordinates (207.3442, 207.3983), both true and estimated gene co-expression matrix by two-step algorithm, WGCNA, CTS, CSN-joint, and CSN-separate are shown (the results of CSN-separate are similar to CSN-joint&#x00027;s). From <xref ref-type="fig" rid="F3">Figure 3</xref>, we can observe that our two-step algorithm outperforms the other four methods in estimating cell-specific gene co-expression networks. To further quantify the network recovery error for these methods, we used the following error term <inline-formula><mml:math id="M78"><mml:mi>E</mml:mi><mml:mo>:</mml:mo><mml:mo>=</mml:mo><mml:mn>1</mml:mn><mml:mo>/</mml:mo><mml:mi>n</mml:mi><mml:mo>&#x000B7;</mml:mo><mml:munderover accentunder="false" accent="false"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>=</mml:mo><mml:mn>1</mml:mn></mml:mrow><mml:mrow><mml:mi>n</mml:mi></mml:mrow></mml:munderover><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:mo>&#x0003C;</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:munder><mml:mo>|</mml:mo><mml:msub><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">G</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow></mml:msub><mml:mo>-</mml:mo><mml:msubsup><mml:mrow><mml:mrow><mml:mi mathvariant="-tex-caligraphic">G</mml:mi></mml:mrow></mml:mrow><mml:mrow><mml:mi>i</mml:mi><mml:mo>,</mml:mo><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>1</mml:mn></mml:mrow></mml:msub><mml:msub><mml:mrow><mml:mi>g</mml:mi></mml:mrow><mml:mrow><mml:mn>2</mml:mn></mml:mrow></mml:msub></mml:mrow><mml:mrow><mml:mtext>true</mml:mtext></mml:mrow></mml:msubsup><mml:mo>|</mml:mo></mml:math></inline-formula>. For WGCNA, we chose the truncation value 0.0001 for the topological overlap matrix; for the proposed algorithm and CTS, the threshold <italic>d</italic> for the gene-gene correlations was chosen as 0.1; for the two CSN methods, the significance level was set at 0.01. <xref ref-type="table" rid="T1">Table 1</xref> shows the errors based on ten replicates and indicates that the proposed method is more accurate than the others in terms of the network structure recovery.</p>
<fig id="F3" position="float">
<label>Figure 3</label>
<caption><p>Heatmaps of estimated gene co-expression networks for different methods and underlying truth. The network heatmaps of the cell on location (207.3442, 207.3983) was used for illustration.</p></caption>
<graphic xlink:href="fgene-12-656637-g0003.tif"/>
</fig>
<table-wrap position="float" id="T1">
<label>Table 1</label>
<caption><p>Mean errors and corresponding standard deviations of five methods.</p></caption>
<table frame="hsides" rules="groups">
<thead><tr>
<th valign="top" align="left"><bold>Methods</bold></th>
<th valign="top" align="left"><bold>Two-step algorithm</bold></th>
<th valign="top" align="center"><bold>WGCNA</bold></th>
<th valign="top" align="center"><bold>CTS</bold></th>
<th valign="top" align="center"><bold>CSN-joint</bold></th>
<th valign="top" align="center"><bold>CSN-separate</bold></th>
</tr>
</thead>
<tbody>
<tr>
<td valign="top" align="left">Mean error</td>
<td valign="top" align="left">288.62</td>
<td valign="top" align="center">484.05</td>
<td valign="top" align="center">484.44</td>
<td valign="top" align="center">1869.60</td>
<td valign="top" align="center">2462.09</td>
</tr>
<tr>
<td valign="top" align="left">(standard deviation)</td>
<td valign="top" align="left">(14.15)</td>
<td valign="top" align="center">(18.78)</td>
<td valign="top" align="center">(18.80)</td>
<td valign="top" align="center">(347.49)</td>
<td valign="top" align="center">(95.57)</td>
</tr>
</tbody>
</table>
</table-wrap>
<p>The degree of a gene is the number of edges connected to that gene. We investigated the degree distributions of the estimated cell-specific gene co-expression network and compared it to truth and other competing approaches on one gene for each cell type. <xref ref-type="fig" rid="F4">Figures 4A&#x02013;E</xref> show the violin plots of the degrees of gene 91 for each cell type. We can see that the distribution created by our proposed algorithm is much closer to the underlying truth than CSN-separate and CSN-joint, while WGCNA and CTS&#x00027;s distributions are just horizontal line segments as their network estimates are identical for all cells in one cell type.</p>
<fig id="F4" position="float">
<label>Figure 4</label>
<caption><p><bold>(A&#x02013;E)</bold> Violin plots of gene degrees of gene 91 in the five cell types in the simulation study. <bold>(F)</bold> Violin plots of the computational time (in seconds) for the five approaches based on ten replicates.</p></caption>
<graphic xlink:href="fgene-12-656637-g0004.tif"/>
</fig>
<p><xref ref-type="fig" rid="F4">Figure 4F</xref> shows the violin plot for the computation time in second for these methods based on ten replicates. It is reasonable that WGCNA and CTS have the minimum computing time as they only estimate <italic>K</italic> cell-type-specific gene-gene network, but their performances are obviously not good. The proposed algorithm has a similar computing time to CSN-separate and is faster than CSN-joint. Hence, our algorithm not only performs well in estimating networks but also has relatively fast computing.</p>
<p>Given the network estimates by our method, we can easily use algorithm 2 to predict network structures for a new location. We randomly generated 50 new coordinates as the locations of 50 missing cells, simulated the true gene network of these 50 new cells following the data-generating procedure above, and then applied the prediction algorithm. The prediction error is 347.84 (in terms of <italic>E</italic>). WGCNA, CTS, CSN-joint, and CSN-separate do not have the ability to predict gene co-expression networks of missing cells, so the proposed algorithm provides an extra important function to make network predictions.</p></sec>
<sec id="s4">
<title>4. Real Application</title>
<sec>
<title>4.1. MERFISH Mouse Hypothalamus Data</title>
<p>Moffitt et al. (<xref ref-type="bibr" rid="B17">2018</xref>) combined single-cell RNA-sequencing and a single-cell transcriptome imaging method called MERFISH to obtain expression profiles at the cellular level as well as x-y coordinates of centroid positions for cells in the mouse hypothalamic preoptic region. In the MERFISH mouse hypothalamus data, class information of cells are also available. The single-cell spatial expression data can be downloaded from <ext-link ext-link-type="uri" xlink:href="https://datadryad.org/stash/dataset/doi:10.5061/dryad.8t8s248">https://datadryad.org/stash/dataset/doi:10.5061/dryad.8t8s248</ext-link>.</p>
<p>We chose the expression data with animal id 35 and location 0.26 of the slice in bregma coordinates and removed cells labeled &#x0201C;Ambiguous&#x0201D; as well as cell types that contain less than 10 cells, resulting in 13 cell classes. The spatial pattern of the selected cells was displayed in <xref ref-type="fig" rid="F5">Figure 5A</xref>. We further removed &#x0201C;blank&#x0201D; genes and genes whose expressions are zero across all the cells in one cell type, resulting in <italic>G</italic> &#x0003D; 147 genes and <italic>n</italic> &#x0003D; 4, 682 cells. Subsequently, we applied the proposed two-step algorithm with informative neighboring cell number <italic>m</italic><sub><italic>info</italic></sub> &#x0003D; 70 and threshold parameter <italic>d</italic> &#x0003D; 0.1. We randomly selected two cells from cell classes &#x0201C;inhibitory neurons&#x0201D; and &#x0201C;excitatory neurons,&#x0201D; respectively, and the gene co-expression networks of the two cells were shown in <xref ref-type="fig" rid="F6">Figure 6</xref>. It is observed that the two gene co-expression networks have similar functional gene modules on the diagonal possibly because both of them are neurons. Moreover, the network of the cell in excitatory neurons is denser than the network in inhibitory neurons, and the reason may be that the gene activity in cells controlling excitement is more active than that in cells controlling inhibition.</p>
<fig id="F5" position="float">
<label>Figure 5</label>
<caption><p><bold>(A)</bold> Cells&#x00027; spatial distribution pattern, where different colors of points correspond to different cell classes. <bold>(B)</bold> The spatial pattern of the Pak3-Crpr connection obtained by two-step algorithm. The black point reflects that an edge exists between &#x0201C;Pak3&#x0201D; and &#x0201C;Crpr&#x0201D; in that cell. <bold>(C)</bold> The spatial pattern of the Pak3-Crpr connection obtained by WGCNA.</p></caption>
<graphic xlink:href="fgene-12-656637-g0005.tif"/>
</fig>
<fig id="F6" position="float">
<label>Figure 6</label>
<caption><p>Estimated gene co-expression networks of two selected cells in the MERFISH mouse hypothalamus data: the left panel corresponds to an inhibitory cell, while the right panel corresponds to an excitatory cell.</p></caption>
<graphic xlink:href="fgene-12-656637-g0006.tif"/>
</fig>
<p>Cell-specific gene co-expression networks can provide insightful information about how genes&#x00027; degrees vary in each cell type. To show that, in excitatory neuron cells, we selected 15 genes with the most variable degrees: Sln, Baiap2, Tmem108, Oprk1, Slc17a6, Nos1, Htr2c, Irs4, Gpr165, Slc18a2, Vgf, Pgr, Ar, Gabrg1, and Gabra1. To validate the functions of the gene set, we conducted gene set enrichment analysis (Subramanian et al., <xref ref-type="bibr" rid="B23">2005</xref>) based on the gene ontology (GO) database (Gene Ontology Consortium, <xref ref-type="bibr" rid="B10">2004</xref>). We found several significant annotations related to the excitatory neurons including GO_MODULATION_OF_EXCITATORY_POSTSYNAPTIC_POTENTIAL (biological process), GO_EXCITATORY_SYNAPSE (cellular component), and GO_NEURON_PROJECTION (cellular component). In terms of the inhibitory neurons, we identified 15 genes with the most variable degrees: Baiap2, Sox6, Irs4, Ar, Gda, Oprk1, Isl1, Cyr61, Prlr, Glra3, Gabra1, Dgkk, Tmem108, Sln, and Ano3. Using GO annotations, the gene set is associated with inhibitory neurons-related activities including GO_INHIBITORY_EXTRACELLULAR_LIGAND_GATED_ION_CHANNEL_ACTIVITY (molecular function) and GO_NEURON_PROJECTION (cellular component). These observations show that estimated cell-specific networks have the potential to find genes with variable degrees for each cell type, which cannot be accomplished by cell-type-specific approaches.</p>
<p>We next illustrated the spatial feature of estimated gene co-expression networks in terms of gene-gene connections. We calculated the median degree for each gene. Gene Pak3 with the maximum median degree (31) and gene Grpr with the minimum median degree (0) were chosen for demonstration. <xref ref-type="fig" rid="F5">Figure 5B</xref> shows that the Pak3-Grpr connection mainly appears in the region where &#x0201C;mature oligodendrocytes&#x0201D; are enriched. The observation indicates that the two genes may tend to work together in the mature oligodendrocytes. Actually, mutations on gene Pak3 are related to intellectual disability diseases, and its expression decreases in mature oligodendrocytes and may regulate oligodendrocyte precursor cell differentiation, as reported in a previous study (Renkilaraj et al., <xref ref-type="bibr" rid="B19">2017</xref>). To demonstrate the advantage of estimating cell-specific networks, we further applied WGCNA (Zhang and Horvath, <xref ref-type="bibr" rid="B30">2005</xref>) with truncation level 0.1 to obtain cell-type-specific networks. However, <xref ref-type="fig" rid="F5">Figure 5C</xref> indicates that the cell-type-specific estimations by WGCNA cannot reveal the pattern provided by cell-specific estimations.</p>
<p>From the perspective of cell types, <xref ref-type="fig" rid="F7">Figure 7</xref> demonstrates the cell-type-specific degree distributions of two genes, Htr2c and Slc17a6 (Campbell et al., <xref ref-type="bibr" rid="B3">2017</xref>; Chen et al., <xref ref-type="bibr" rid="B7">2017</xref>), which have the most degree variances across cells. It is observed that the degree distribution of one gene varies across cell types, and this cannot be observed by traditional cell-type-specific gene co-expression networks.</p>
<fig id="F7" position="float">
<label>Figure 7</label>
<caption><p>Violin plots of two genes&#x00027; degree distributions across thirteen cell classes in the MERFISH mouse hypothalamus data.</p></caption>
<graphic xlink:href="fgene-12-656637-g0007.tif"/>
</fig></sec>
<sec>
<title>4.2. MERFISH U-2 OS Data</title>
<p>We further provided some simple results of the proposed algorithms on another single-cell spatial expression dataset. Xia et al. (<xref ref-type="bibr" rid="B29">2019</xref>) carried out the MERFISH experiments on human osteosarcoma (U-2 OS) cells, and we downloaded the expression count data from <ext-link ext-link-type="uri" xlink:href="https://www.pnas.org/content/116/39/19490/tab-figures-data">https://www.pnas.org/content/116/39/19490/tab-figures-data</ext-link>. The data contain expression profiles for 10,050 genes and 1,368 cells in three batches. To avoid possible influences caused by batch effects, our analysis focuses on the batch one. We first removed &#x0201C;blank&#x0201D; genes, resulting in <italic>n</italic> &#x0003D; 645 cells and <italic>G</italic> &#x0003D; 10, 050 genes. Since there is no cell-type annotation information, we first performed cell clustering procedure using Seurat (Butler et al., <xref ref-type="bibr" rid="B1">2018</xref>; Stuart et al., <xref ref-type="bibr" rid="B22">2019</xref>). By setting the resolution at 0.8 in Seurat clustering procedure, we obtained <italic>K</italic> &#x0003D; 5 cell classes, which is consistent with the cell type number in Xia et al. (<xref ref-type="bibr" rid="B29">2019</xref>). <xref ref-type="fig" rid="F8">Figure 8A</xref> shows the cells&#x00027; spatial distribution.</p>
<fig id="F8" position="float">
<label>Figure 8</label>
<caption><p><bold>(A)</bold> Cells&#x00027; spatial distribution pattern, where different colors and shapes of points correspond to different cell classes. <bold>(B&#x02013;F)</bold> Estimated gene co-expression networks of five randomly selected cells in the MERFISH U-2 OS cell line data.</p></caption>
<graphic xlink:href="fgene-12-656637-g0008.tif"/>
</fig>
<p>The original expression data were count data, so we normalized the data following the formula <inline-formula><mml:math id="M79"><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub><mml:mo>&#x02190;</mml:mo><mml:mfrac><mml:mrow><mml:mn>1</mml:mn><mml:msup><mml:mrow><mml:mn>0</mml:mn></mml:mrow><mml:mrow><mml:mn>6</mml:mn></mml:mrow></mml:msup></mml:mrow><mml:mrow><mml:munder class="msub"><mml:mrow><mml:mo>&#x02211;</mml:mo></mml:mrow><mml:mrow><mml:mi>g</mml:mi></mml:mrow></mml:munder><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:mrow></mml:mfrac><mml:msub><mml:mrow><mml:mi>x</mml:mi></mml:mrow><mml:mrow><mml:mi>g</mml:mi><mml:mi>i</mml:mi></mml:mrow></mml:msub></mml:math></inline-formula>, where <italic>x</italic><sub><italic>gi</italic></sub> is the expression level of gene <italic>g</italic> in cell <italic>i</italic> and then selected the most variable 500 genes to perform the proposed two-step algorithm. The informative neighboring cell number <italic>m</italic><sub><italic>info</italic></sub> was set to 70, and the threshold parameter <italic>d</italic> was set to 0.3. Accordingly, we randomly selected five cells from the five cell classes, respectively, and the gene co-expression networks of the five chosen cells were shown in <xref ref-type="fig" rid="F8">Figures 8B&#x02013;F</xref>. It is observed that the five gene networks from different cell types have similar gene modules. Moreover, we showed the degree distributions across five cell types for two genes, SRP72P2 and MYBL2, which have the most degree variances across cells. <xref ref-type="fig" rid="F9">Figure 9</xref> tells us that the degree distributions of the two genes not only have variation within one cell type but also change from one cell type to another.</p>
<fig id="F9" position="float">
<label>Figure 9</label>
<caption><p>Violin plots of two genes&#x00027; degree distributions across five cell classes in the MERFISH U-2 OS cell line data.</p></caption>
<graphic xlink:href="fgene-12-656637-g0009.tif"/>
</fig></sec></sec>
<sec sec-type="discussion" id="s5">
<title>5. Discussion</title>
<p>Recent technology advances enable us to gain deep insights into spatial cell-specific gene expressions. In this paper, we developed a simple and computationally efficient two-step algorithm to recover spatially-varying cell-specific gene co-expression networks. The simulation study shows that the proposed algorithm outperforms the traditional cell-type-specific gene network approach and cell-specific gene network estimation methods that do not employ spatial information. The application to the MERFISH data provides some interesting biological findings. In the meanwhile, there are some limitations in the proposed algorithm we aim to improve in the future work. For example, we choose a hard threshold to identify a gene-gene connection, but an adaptive threshold selection needs to be derived.</p>
<p>We also acknowledge that using normal distributions to fit normalized gene expression data can lose power and be suboptimal compared to directly modeling the sequencing count data via Poisson distributions (Sun et al., <xref ref-type="bibr" rid="B24">2017</xref>). Fortunately, in several previous bioinformatics works, using continuous multivariate normal distributions to model normalized single-cell sequencing data (Pierson and Yau, <xref ref-type="bibr" rid="B18">2015</xref>; Chen and Zhou, <xref ref-type="bibr" rid="B6">2017</xref>; Wang et al., <xref ref-type="bibr" rid="B27">2020</xref>) or spatial single-cell expression data (Li D. et al., <xref ref-type="bibr" rid="B14">2020</xref>) can still provide key biological findings. Moreover, in terms of computation, multivariate Poisson distributions (Karlis, <xref ref-type="bibr" rid="B11">2003</xref>) largely increase the computational burden. Statistically, the covariance matrix in the multivariate Poisson distribution does not have a standard conjugate prior, thus failing to obtain an analytical form of the posterior mean. In real data, the cell number is often large (&#x0007E;4,000 in our real application), which actually guarantees a satisfying normal approximation. Considering these issues, we chose the multivariate normal as the data distribution, but it is very interesting and challenging to extend the algorithm to directly model raw count data and we leave it for future work.</p></sec>
<sec sec-type="data-availability-statement" id="s6">
<title>Data Availability Statement</title>
<p>Publicly available datasets were analyzed in this study. MERFISH mouse hypothalamus data can be downloaded from <ext-link ext-link-type="uri" xlink:href="https://datadryad.org/stash/dataset/doi:10.5061/dryad.8t8s248">https://datadryad.org/stash/dataset/doi:10.5061/dryad.8t8s248</ext-link>, and MERFISH U-2 OS cell line data is available via the link <ext-link ext-link-type="uri" xlink:href="https://www.pnas.org/content/116/39/19490/tab-figures-data">https://www.pnas.org/content/116/39/19490/tab-figures-data</ext-link>.</p></sec>
<sec id="s7">
<title>Code Availability Statement</title>
<p>The codes that can reproduce results in simulation and real application are available on GitHub, <ext-link ext-link-type="uri" xlink:href="https://github.com/jingeyu/CSSN_data_code">https://github.com/jingeyu/CSSN_data_code</ext-link>. The associated CSSN package is available on GitHub, <ext-link ext-link-type="uri" xlink:href="https://github.com/jingeyu/CSSN">https://github.com/jingeyu/CSSN</ext-link>.</p></sec>
<sec id="s8">
<title>Author Contributions</title>
<p>XL conceived the study. JY and XL developed the method, analyzed the real data, and wrote the paper. JY implemented the algorithm, prepared the software, and conducted simulation. Both authors contributed to the article and approved the submitted version.</p></sec>
<sec sec-type="COI-statement" id="conf1">
<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>
</body>
<back>
<ack><p>We are very grateful to the Editor, Associate Editor, and reviewers for their constructive comments which greatly improve the paper. We also thank the High-performance Computing Platform of Renmin University of China for providing computing resources.</p>
</ack>
<ref-list>
<title>References</title>
<ref id="B1">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Butler</surname> <given-names>A.</given-names></name> <name><surname>Hoffman</surname> <given-names>P.</given-names></name> <name><surname>Smibert</surname> <given-names>P.</given-names></name> <name><surname>Papalexi</surname> <given-names>E.</given-names></name> <name><surname>Satija</surname> <given-names>R.</given-names></name></person-group> (<year>2018</year>). <article-title>Integrating single-cell transcriptomic data across different conditions, technologies, and species</article-title>. <source>Nat. Biotechnol.</source> <volume>36</volume>, <fpage>411</fpage>&#x02013;<lpage>420</lpage>. <pub-id pub-id-type="doi">10.1038/nbt.4096</pub-id><pub-id pub-id-type="pmid">29608179</pub-id></citation></ref>
<ref id="B2">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Butte</surname> <given-names>A.</given-names></name> <name><surname>Kohane</surname> <given-names>I.</given-names></name></person-group> (<year>2000</year>). <article-title>&#x0201C;Mutual information relevance networks: functional genomic clustering using pairwise entropy measurements,&#x0201D;</article-title> in <source>Pacific Symposium on Biocomputing. Pacific Symposium on Biocomputing</source> (<publisher-loc>Honolulu, HI</publisher-loc>), <fpage>418</fpage>&#x02013;<lpage>429</lpage>.<pub-id pub-id-type="pmid">10902190</pub-id></citation></ref>
<ref id="B3">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Campbell</surname> <given-names>J. N.</given-names></name> <name><surname>Macosko</surname> <given-names>E. Z.</given-names></name> <name><surname>Fenselau</surname> <given-names>H.</given-names></name> <name><surname>Pers</surname> <given-names>T. H.</given-names></name> <name><surname>Lyubetskaya</surname> <given-names>A.</given-names></name> <name><surname>Tenen</surname> <given-names>D.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>A molecular census of arcuate hypothalamus and median eminence cell types</article-title>. <source>Nat. Neurosci.</source> <volume>20</volume>, <fpage>484</fpage>&#x02013;<lpage>496</lpage>. <pub-id pub-id-type="doi">10.1038/nn.4495</pub-id><pub-id pub-id-type="pmid">28166221</pub-id></citation></ref>
<ref id="B4">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Carter</surname> <given-names>S. L.</given-names></name> <name><surname>Brechb&#x000FC;hler</surname> <given-names>C. M.</given-names></name> <name><surname>Griffin</surname> <given-names>M.</given-names></name> <name><surname>Bond</surname> <given-names>A. T.</given-names></name></person-group> (<year>2004</year>). <article-title>Gene co-expression network topology provides a framework for molecular characterization of cellular state</article-title>. <source>Bioinformatics</source> <volume>20</volume>, <fpage>2242</fpage>&#x02013;<lpage>2250</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/bth234</pub-id><pub-id pub-id-type="pmid">15130938</pub-id></citation></ref>
<ref id="B5">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>K. H.</given-names></name> <name><surname>Boettiger</surname> <given-names>A. N.</given-names></name> <name><surname>Moffitt</surname> <given-names>J. R.</given-names></name> <name><surname>Wang</surname> <given-names>S.</given-names></name> <name><surname>Zhuang</surname> <given-names>X.</given-names></name></person-group> (<year>2015</year>). <article-title>Spatially resolved, highly multiplexed RNA profiling in single cells</article-title>. <source>Science</source> <volume>348</volume>:<fpage>aaa6090</fpage>. <pub-id pub-id-type="doi">10.1126/science.aaa6090</pub-id><pub-id pub-id-type="pmid">25858977</pub-id></citation></ref>
<ref id="B6">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>M.</given-names></name> <name><surname>Zhou</surname> <given-names>X.</given-names></name></person-group> (<year>2017</year>). <article-title>Controlling for confounding effects in single cell RNA sequencing studies using both control and target genes</article-title>. <source>Sci. Rep.</source> <volume>7</volume>, <fpage>1</fpage>&#x02013;<lpage>14</lpage>. <pub-id pub-id-type="doi">10.1038/s41598-017-13665-w</pub-id><pub-id pub-id-type="pmid">29051597</pub-id></citation></ref>
<ref id="B7">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Chen</surname> <given-names>R.</given-names></name> <name><surname>Wu</surname> <given-names>X.</given-names></name> <name><surname>Jiang</surname> <given-names>L.</given-names></name> <name><surname>Zhang</surname> <given-names>Y.</given-names></name></person-group> (<year>2017</year>). <article-title>Single-cell RNA-seq reveals hypothalamic cell diversity</article-title>. <source>Cell Rep.</source> <volume>18</volume>, <fpage>3227</fpage>&#x02013;<lpage>3241</lpage>. <pub-id pub-id-type="doi">10.1016/j.celrep.2017.03.004</pub-id><pub-id pub-id-type="pmid">28355573</pub-id></citation></ref>
<ref id="B8">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Dai</surname> <given-names>H.</given-names></name> <name><surname>Li</surname> <given-names>L.</given-names></name> <name><surname>Zeng</surname> <given-names>T.</given-names></name> <name><surname>Chen</surname> <given-names>L.</given-names></name></person-group> (<year>2019</year>). <article-title>Cell-specific network constructed by single-cell RNA sequencing data</article-title>. <source>Nucleic Acids Res.</source> <volume>47</volume>:<fpage>e62</fpage>. <pub-id pub-id-type="doi">10.1093/nar/gkz172</pub-id><pub-id pub-id-type="pmid">30864667</pub-id></citation></ref>
<ref id="B9">
<citation citation-type="book"><person-group person-group-type="author"><name><surname>Gelman</surname> <given-names>A.</given-names></name> <name><surname>Carlin</surname> <given-names>J. B.</given-names></name> <name><surname>Stern</surname> <given-names>H. S.</given-names></name> <name><surname>Dunson</surname> <given-names>D. B.</given-names></name> <name><surname>Vehtari</surname> <given-names>A.</given-names></name> <name><surname>Rubin</surname> <given-names>D. B.</given-names></name></person-group> (<year>2013</year>). <source>Bayesian Data Analysis</source>. <publisher-name>CRC Press</publisher-name>.</citation></ref>
<ref id="B10">
<citation citation-type="journal"><person-group person-group-type="author"><collab>Gene Ontology Consortium</collab></person-group> (<year>2004</year>). <article-title>The gene ontology (GO) database and informatics resource</article-title>. <source>Nucleic Acids Res.</source> <volume>32</volume>(<supplement>Suppl_1</supplement>), <fpage>D258</fpage>&#x02013;<lpage>D261</lpage>. <pub-id pub-id-type="doi">10.1093/nar/gkh036</pub-id></citation></ref>
<ref id="B11">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Karlis</surname> <given-names>D.</given-names></name></person-group> (<year>2003</year>). <article-title>An EM algorithm for multivariate Poisson distribution and related models</article-title>. <source>J. Appl. Stat.</source> <volume>30</volume>, <fpage>63</fpage>&#x02013;<lpage>77</lpage>. <pub-id pub-id-type="doi">10.1080/0266476022000018510</pub-id></citation></ref>
<ref id="B12">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>K&#x000F6;ster</surname> <given-names>J.</given-names></name> <name><surname>Brown</surname> <given-names>M.</given-names></name> <name><surname>Liu</surname> <given-names>X. S.</given-names></name></person-group> (<year>2019</year>). <article-title>A Bayesian model for single cell transcript expression analysis on MERFISH data</article-title>. <source>Bioinformatics</source> <volume>35</volume>, <fpage>995</fpage>&#x02013;<lpage>1001</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/bty718</pub-id><pub-id pub-id-type="pmid">30875429</pub-id></citation></ref>
<ref id="B13">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lee</surname> <given-names>J. H.</given-names></name> <name><surname>Daugharthy</surname> <given-names>E. R.</given-names></name> <name><surname>Scheiman</surname> <given-names>J.</given-names></name> <name><surname>Kalhor</surname> <given-names>R.</given-names></name> <name><surname>Yang</surname> <given-names>J. L.</given-names></name> <name><surname>Ferrante</surname> <given-names>T. C.</given-names></name> <etal/></person-group>. (<year>2014</year>). <article-title>Highly multiplexed subcellular RNA sequencing <italic>in situ</italic></article-title>. <source>Science</source> <volume>343</volume>, <fpage>1360</fpage>&#x02013;<lpage>1363</lpage>. <pub-id pub-id-type="doi">10.1126/science.1250212</pub-id><pub-id pub-id-type="pmid">24578530</pub-id></citation></ref>
<ref id="B14">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>D.</given-names></name> <name><surname>Ding</surname> <given-names>J.</given-names></name> <name><surname>Bar-Joseph</surname> <given-names>Z.</given-names></name></person-group> (<year>2020</year>). <article-title>Identifying signaling genes in spatial single cell expression data</article-title>. <source>Bioinformatics</source>. <pub-id pub-id-type="doi">10.1101/2020.07.27.221465.</pub-id> [Epub ahead of print].<pub-id pub-id-type="pmid">32886099</pub-id></citation></ref>
<ref id="B15">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Li</surname> <given-names>L.</given-names></name> <name><surname>Dai</surname> <given-names>H.</given-names></name> <name><surname>Fang</surname> <given-names>Z.</given-names></name> <name><surname>Chen</surname> <given-names>L.</given-names></name></person-group> (<year>2020</year>). <article-title>CCSN: single cell RNA sequencing data analysis by conditional cell-specific network</article-title>. <source>bioRxiv [Preprint]</source>. <pub-id pub-id-type="doi">10.1101/2020.01.25.919829</pub-id><pub-id pub-id-type="pmid">33684532</pub-id></citation></ref>
<ref id="B16">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Lubeck</surname> <given-names>E.</given-names></name> <name><surname>Coskun</surname> <given-names>A. F.</given-names></name> <name><surname>Zhiyentayev</surname> <given-names>T.</given-names></name> <name><surname>Ahmad</surname> <given-names>M.</given-names></name> <name><surname>Cai</surname> <given-names>L.</given-names></name></person-group> (<year>2014</year>). <article-title>Single-cell <italic>in situ</italic> RNA profiling by sequential hybridization</article-title>. <source>Nat. Methods</source> <volume>11</volume>:<fpage>360</fpage>. <pub-id pub-id-type="doi">10.1038/nmeth.2892</pub-id><pub-id pub-id-type="pmid">24681720</pub-id></citation></ref>
<ref id="B17">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Moffitt</surname> <given-names>J. R.</given-names></name> <name><surname>Bambah-Mukku</surname> <given-names>D.</given-names></name> <name><surname>Eichhorn</surname> <given-names>S. W.</given-names></name> <name><surname>Vaughn</surname> <given-names>E.</given-names></name> <name><surname>Shekhar</surname> <given-names>K.</given-names></name> <name><surname>Perez</surname> <given-names>J. D.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Molecular, spatial, and functional single-cell profiling of the hypothalamic preoptic region</article-title>. <source>Science</source> <volume>362</volume>:<fpage>eaau5324</fpage>. <pub-id pub-id-type="doi">10.1126/science.aau5324</pub-id><pub-id pub-id-type="pmid">30385464</pub-id></citation></ref>
<ref id="B18">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Pierson</surname> <given-names>E.</given-names></name> <name><surname>Yau</surname> <given-names>C.</given-names></name></person-group> (<year>2015</year>). <article-title>ZIFA: Dimensionality reduction for zero-inflated single-cell gene expression analysis</article-title>. <source>Genome Biol.</source> <volume>16</volume>, <fpage>1</fpage>&#x02013;<lpage>10</lpage>. <pub-id pub-id-type="doi">10.1186/s13059-015-0805-z</pub-id><pub-id pub-id-type="pmid">26527291</pub-id></citation></ref>
<ref id="B19">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Renkilaraj</surname> <given-names>M. R. L. M.</given-names></name> <name><surname>Baudouin</surname> <given-names>L.</given-names></name> <name><surname>Wells</surname> <given-names>C. M.</given-names></name> <name><surname>Doulazmi</surname> <given-names>M.</given-names></name> <name><surname>Wehrl&#x000E9;</surname> <given-names>R.</given-names></name> <name><surname>Cannaya</surname> <given-names>V.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>The intellectual disability protein PAK3 regulates oligodendrocyte precursor cell differentiation</article-title>. <source>Neurobiol. Dis.</source> <volume>98</volume>, <fpage>137</fpage>&#x02013;<lpage>148</lpage>. <pub-id pub-id-type="doi">10.1016/j.nbd.2016.12.004</pub-id><pub-id pub-id-type="pmid">27940202</pub-id></citation></ref>
<ref id="B20">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Serin</surname> <given-names>E. A.</given-names></name> <name><surname>Nijveen</surname> <given-names>H.</given-names></name> <name><surname>Hilhorst</surname> <given-names>H. W.</given-names></name> <name><surname>Ligterink</surname> <given-names>W.</given-names></name></person-group> (<year>2016</year>). <article-title>Learning from co-expression networks: possibilities and challenges</article-title>. <source>Front. Plant Sci.</source> <volume>7</volume>:<fpage>444</fpage>. <pub-id pub-id-type="doi">10.3389/fpls.2016.00444</pub-id><pub-id pub-id-type="pmid">27092161</pub-id></citation></ref>
<ref id="B21">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stuart</surname> <given-names>J. M.</given-names></name> <name><surname>Segal</surname> <given-names>E.</given-names></name> <name><surname>Koller</surname> <given-names>D.</given-names></name> <name><surname>Kim</surname> <given-names>S. K.</given-names></name></person-group> (<year>2003</year>). <article-title>A gene-coexpression network for global discovery of conserved genetic modules</article-title>. <source>Science</source> <volume>302</volume>, <fpage>249</fpage>&#x02013;<lpage>255</lpage>. <pub-id pub-id-type="doi">10.1126/science.1087447</pub-id><pub-id pub-id-type="pmid">12934013</pub-id></citation></ref>
<ref id="B22">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Stuart</surname> <given-names>T.</given-names></name> <name><surname>Butler</surname> <given-names>A.</given-names></name> <name><surname>Hoffman</surname> <given-names>P.</given-names></name> <name><surname>Hafemeister</surname> <given-names>C.</given-names></name> <name><surname>Papalexi</surname> <given-names>E.</given-names></name> <name><surname>Mauck</surname> <given-names>W. M.</given-names> <suffix>III.</suffix></name> <etal/></person-group>. (<year>2019</year>). <article-title>Comprehensive integration of single-cell data</article-title>. <source>Cell</source> <volume>177</volume>, <fpage>1888</fpage>&#x02013;<lpage>1902</lpage>. <pub-id pub-id-type="doi">10.1016/j.cell.2019.05.031</pub-id></citation></ref>
<ref id="B23">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Subramanian</surname> <given-names>A.</given-names></name> <name><surname>Tamayo</surname> <given-names>P.</given-names></name> <name><surname>Mootha</surname> <given-names>V. K.</given-names></name> <name><surname>Mukherjee</surname> <given-names>S.</given-names></name> <name><surname>Ebert</surname> <given-names>B. L.</given-names></name> <name><surname>Gillette</surname> <given-names>M. A.</given-names></name> <etal/></person-group>. (<year>2005</year>). <article-title>Gene set enrichment analysis: a knowledge-based approach for interpreting genome-wide expression profiles</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>102</volume>, <fpage>15545</fpage>&#x02013;<lpage>15550</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.0506580102</pub-id><pub-id pub-id-type="pmid">16199517</pub-id></citation></ref>
<ref id="B24">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname> <given-names>S.</given-names></name> <name><surname>Hood</surname> <given-names>M.</given-names></name> <name><surname>Scott</surname> <given-names>L.</given-names></name> <name><surname>Peng</surname> <given-names>Q.</given-names></name> <name><surname>Mukherjee</surname> <given-names>S.</given-names></name> <name><surname>Tung</surname> <given-names>J.</given-names></name> <etal/></person-group>. (<year>2017</year>). <article-title>Differential expression analysis for RNAseq using Poisson mixed models</article-title>. <source>Nucleic Acids Res.</source> <volume>45</volume>:<fpage>e106</fpage>. <pub-id pub-id-type="doi">10.1093/nar/gkx204</pub-id><pub-id pub-id-type="pmid">28369632</pub-id></citation></ref>
<ref id="B25">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Sun</surname> <given-names>S.</given-names></name> <name><surname>Zhu</surname> <given-names>J.</given-names></name> <name><surname>Zhou</surname> <given-names>X.</given-names></name></person-group> (<year>2020</year>). <article-title>Statistical analysis of spatial expression patterns for spatially resolved transcriptomic studies</article-title>. <source>Nat. Methods</source> <volume>17</volume>, <fpage>193</fpage>&#x02013;<lpage>200</lpage>. <pub-id pub-id-type="doi">10.1038/s41592-019-0701-7</pub-id><pub-id pub-id-type="pmid">31988518</pub-id></citation></ref>
<ref id="B26">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Tian</surname> <given-names>J.</given-names></name> <name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Roeder</surname> <given-names>K.</given-names></name></person-group> (<year>2021</year>). <article-title>ESCO: single cell expression simulation incorporating gene co-expression</article-title>. <source>Bioinformatics</source>. <pub-id pub-id-type="doi">10.1093/bioinformatics/btab116.</pub-id> [Epub ahead of print].<pub-id pub-id-type="pmid">33624750</pub-id></citation></ref>
<ref id="B27">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>J.</given-names></name> <name><surname>Devlin</surname> <given-names>B.</given-names></name> <name><surname>Roeder</surname> <given-names>K.</given-names></name></person-group> (<year>2020</year>). <article-title>Using multiple measurements of tissue to estimate subject-and cell-type-specific gene expression</article-title>. <source>Bioinformatics</source> <volume>36</volume>, <fpage>782</fpage>&#x02013;<lpage>788</lpage>. <pub-id pub-id-type="doi">10.1093/bioinformatics/btz619</pub-id><pub-id pub-id-type="pmid">31400192</pub-id></citation></ref>
<ref id="B28">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Wang</surname> <given-names>X.</given-names></name> <name><surname>Allen</surname> <given-names>W. E.</given-names></name> <name><surname>Wright</surname> <given-names>M. A.</given-names></name> <name><surname>Sylwestrak</surname> <given-names>E. L.</given-names></name> <name><surname>Samusik</surname> <given-names>N.</given-names></name> <name><surname>Vesuna</surname> <given-names>S.</given-names></name> <etal/></person-group>. (<year>2018</year>). <article-title>Three-dimensional intact-tissue sequencing of single-cell transcriptional states</article-title>. <source>Science</source> <volume>361</volume>:<fpage>eaat5691</fpage>. <pub-id pub-id-type="doi">10.1126/science.aat5691</pub-id><pub-id pub-id-type="pmid">29930089</pub-id></citation></ref>
<ref id="B29">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Xia</surname> <given-names>C.</given-names></name> <name><surname>Fan</surname> <given-names>J.</given-names></name> <name><surname>Emanuel</surname> <given-names>G.</given-names></name> <name><surname>Hao</surname> <given-names>J.</given-names></name> <name><surname>Zhuang</surname> <given-names>X.</given-names></name></person-group> (<year>2019</year>). <article-title>Spatial transcriptome profiling by MERFISH reveals subcellular RNA compartmentalization and cell cycle-dependent gene expression</article-title>. <source>Proc. Natl. Acad. Sci. U.S.A.</source> <volume>116</volume>, <fpage>19490</fpage>&#x02013;<lpage>19499</lpage>. <pub-id pub-id-type="doi">10.1073/pnas.1912459116</pub-id><pub-id pub-id-type="pmid">31501331</pub-id></citation></ref>
<ref id="B30">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>B.</given-names></name> <name><surname>Horvath</surname> <given-names>S.</given-names></name></person-group> (<year>2005</year>). <article-title>A general framework for weighted gene co-expression network analysis</article-title>. <source>Stat. Appl. Genet. Mol. Biol.</source> <volume>4</volume>:<fpage>Article17</fpage>. <pub-id pub-id-type="doi">10.2202/1544-6115.1128</pub-id><pub-id pub-id-type="pmid">16646834</pub-id></citation></ref>
<ref id="B31">
<citation citation-type="journal"><person-group person-group-type="author"><name><surname>Zhang</surname> <given-names>M.</given-names></name> <name><surname>Sheffield</surname> <given-names>T.</given-names></name> <name><surname>Zhan</surname> <given-names>X.</given-names></name> <name><surname>Li</surname> <given-names>Q.</given-names></name> <name><surname>Yang</surname> <given-names>D. M.</given-names></name> <name><surname>Wang</surname> <given-names>Y.</given-names></name> <etal/></person-group>. (<year>2020</year>). <article-title>Spatial molecular profiling: platforms, applications and analysis tools</article-title>. <source>Brief. Bioinform</source>. <pub-id pub-id-type="doi">10.1093/bib/bbaa145.</pub-id> [Epub ahead of print].<pub-id pub-id-type="pmid">32770205</pub-id></citation></ref>
</ref-list>
<fn-group>
<fn fn-type="financial-disclosure"><p><bold>Funding.</bold> This work was supported by National Natural Science Foundation of China (11901572), the start-up research fund at Renmin University of China, the Fundamental Research Funds for the Central Universities, the Research Funds of Renmin University of China (19XNLG08), and the fund for building world-class universities (disciplines) of Renmin University of China.</p>
</fn>
</fn-group>
</back>
</article>