 Research article
 Open Access
 Published:
Unsupervised Bayesian linear unmixing of gene expression microarrays
BMC Bioinformatics volume 14, Article number: 99 (2013)
Abstract
Background
This paper introduces a new constrained model and the corresponding algorithm, called unsupervised Bayesian linear unmixing (uBLU), to identify biological signatures from high dimensional assays like gene expression microarrays. The basis for uBLU is a Bayesian model for the data samples which are represented as an additive mixture of random positive gene signatures, called factors, with random positive mixing coefficients, called factor scores, that specify the relative contribution of each signature to a specific sample. The particularity of the proposed method is that uBLU constrains the factor loadings to be nonnegative and the factor scores to be probability distributions over the factors. Furthermore, it also provides estimates of the number of factors. A Gibbs sampling strategy is adopted here to generate random samples according to the posterior distribution of the factors, factor scores, and number of factors. These samples are then used to estimate all the unknown parameters.
Results
Firstly, the proposed uBLU method is applied to several simulated datasets with known ground truth and compared with previous factor decomposition methods, such as principal component analysis (PCA), non negative matrix factorization (NMF), Bayesian factor regression modeling (BFRM), and the gradientbased algorithm for general matrix factorization (GBGMF). Secondly, we illustrate the application of uBLU on a real timeevolving gene expression dataset from a recent viral challenge study in which individuals have been inoculated with influenza A/H3N2/Wisconsin. We show that the uBLU method significantly outperforms the other methods on the simulated and real data sets considered here.
Conclusions
The results obtained on synthetic and real data illustrate the accuracy of the proposed uBLU method when compared to other factor decomposition methods from the literature (PCA, NMF, BFRM, and GBGMF). The uBLU method identifies an inflammatory component closely associated with clinical symptom scores collected during the study. Using a constrained model allows recovery of all the inflammatory genes in a single factor.
Background
Factor analysis methods such as principal component analysis (PCA) have been widely studied and can be used for discovering the patterns of differential expression in time course and/or multiple treatment biological experiments using gene or protein microarray samples. These methods aim at finding a decomposition of the observation matrix \mathbf{Y}\in {\mathbb{R}}^{G\times N} whose rows (respectively columns) are indexed by gene index (respectively sample index). Typically, in gene expression analysis, the number N of samples is much less than the number G of genes. For example, in an Affymetrix HU133 gene chip, the number G of genes may range from ten to twenty thousand depending on the type of chip description file (CDF) processing used to translate the oligonucleotide fragments to gene labels whereas we only analyze about a hundred of samples.
This decomposition expresses each of the N samples as a particular linear combination of R characteristic gene expression signatures, also referred to as factors, with appropriate proportions (or contributions), called factor scores, following a linear mixing model
where \mathbf{M}\in {\mathbb{R}}^{G\times R} represents the factor loading matrix, \mathbf{A}\in {\mathbb{R}}^{R\times N} the factor score matrix and \mathbf{N}\in {\mathbb{R}}^{G\times N} is a matrix containing noise samples. Each sample y_{ i } (i = 1, …, N), corresponding to the ith column of the observed gene expression matrix Y, is a vector of G gene expression levels that can be expressed as
where m_{ r } is the rth column of M, a_{r, i} denotes the (r, i)th element of the matrix A, a_{ i } and n_{ i } are the ith column of A and N respectively. The number of factors R in the decomposition is usually much less than the number of samples N. Traditional factor analysis methods such as PCA require the experimenter to specify the desired number of factors to be estimated. However, some recent Bayesian factor analysis methods are totally unsupervised in the sense that the number of factors is directly estimated from the data [13].
The model (1) is identical to the standard factor analysis model [4] for which the columns of M are called factors and should correspond to biological signatures (or pathways). Note that the elements of the matrix M are referred to as factor loadings, and the columns of A are the factor scores. Approaches to fitting the model (1) to data include principal component analysis [5, 6], least squares matrix factorization [7, 8], finite mixture modeling [9, 10], and Bayesian factor analysis [4, 11, 12].
This paper presents a new Bayesian factor analysis method called unsupervised Bayesian linear unmixing (uBLU), that estimates the number of factors and incorporates nonnegativity constraints on the factors and factor scores, as well as a sumtoone constraint for the factor scores. The uBLU method presented here differs from the BLU method, developed in [13] for hyperspectral imaging and applied to gene microarray expression analysis in [14]. Note that BLU requires user specification of the number of factors while uBLU determines the number of factors using Bayesian birthdeath model. The positivity and sumtoone constraints are natural in gene microarray analysis when the entries of the observation matrix are nonnegative and when a proportional decomposition is desired. Thus each factor score corresponds to the concentration (or proportion) of a particular factor to a given sample. The advantage of this representation for gene expression analysis is twofold: i) the factor scores correspond to the strengths of each gene contributing to that factor; ii) for each gene chip the factor scores give the relative abundance of each factor present in the chip. For example, a gene having a large loading level (close to one) for a particular factor should have a small loading (close to zero) for all other factors. In this way, as opposed to other factor analysis methods, there is less multiplexing making it easier to associate specific genes to specific factors and vice versa.
A similar approach, based on NMR spectral imaging and called the Bayesian decomposition (BD), has been previously developed by Moloshok et al. and applied to gene expression data [11]. More recently, the coordinated gene activity in pattern sets method (CoGAPS), available as an open Rsource [12], combines the GAPSMCMC matrix factorization algorithm with a thresholdindependent statistic to infer activity in specific gene sets. However, these approaches require cold restarts of the algorithm with different number of factors and with different random seeds to avoid the large number of local minima encountered in the process of fitting the matrix factorization model MA to the data Y. In contrast, the proposed uBLU algorithm uses a judicious model to reduce sensitivity to local minima rather than using cold restarts. The novelty of the uBLU model is that it consists of: (1) a birthdeath process to infer the number of factors; (2) a positivity constraint on the loading and score matrices M, A to restrict the space of solutions; (3) a sumtoone constraint on the columns of A to further restrict the solution space. The uBLU model is justified for nonnegative data problems like gene expression analysis and produces an estimate of the nonnegative factors in addition to their proportional representation in each sample.
Bayesian linear unmixing, traditionally used for hyperspectral image analysis (see [13] for example), is one of many possible factor analysis methods that could be applied to gene expression analysis. These methods include nonnegative matrix factorization (NMF) [7, 8], independent component analysis (ICA) [15], Bayesian decomposition (BD) [11], PCA [5], biclustering [16], penalized matrix decomposition (PMD) [2], Bayesian factor regression modeling (BFRM) [1], and more recently the gradientbased algorithm of Nikulin et al. for general matrix factorization (GBGMF) [17]. Contrary to uBLU, the PCA, ICA, BFRM, GBGMF, biclustering and PMD methods do not account for nonnegativity of the factor loadings and factor scores. On the other hand, NMF does not account for sumtoone constraints on the columns of the factor score matrix. Contrary to PCA and ICA, uBLU does not impose orthogonality or independence on the factors, as well as the GBGMF algorithm. These relaxed assumptions might better represent what is known about the preponderance of overlap and dependency in biological pathways. Finally, uBLU naturally accommodates Bayesian estimation of the number of factors, like BFRM. Note that BFRM has been specifically developed for gene expression data [1].
In this paper we provide comparative studies that establish quantitative performance advantages of the proposed constrained model and its corresponding uBLU algorithm with respect to PCA, NMF, BFRM and GBGMF for timevarying gene expression analysis, using synthetic data with known ground truth. We also illustrate the application of uBLU to the analysis of a real gene expression dataset from a recent viral challenge study [18] in which several subjects were administered viral inoculum and gene expression time course data were collected over a period of several days. Using these data, we may infer relationships between genes and symptoms and examine how the human host response to viral infection evolves with time.
Methods
Mathematical constrained model
Let y_{ i } represent a gene microarray vector of G gene expression levels. The elements of y_{ i } have units of hybridization abundance levels with nonnegative values. In the context of gene expression data, the starting point for Bayesian linear unmixing is the linear mixing model (LMM)
where R is the number of distinct gene signatures that can be present in the chip, m_{ r } = [m_{1, r}, …, m_{G, r}]^{T} is the rth gene signature vector, m_{g, r} ≥ 0 is the strength of the gth gene (g = 1, …, G) in the rth signature (r = 1, …, R), and a_{r, i} is the relative contribution of the rth signature vector to the ith sample y_{ i }, where a_{r,i} ∈ [0, 1] and \sum _{r=1}^{R}{a}_{r,i}=1. Here n_{ i } denotes the residual error of the LMM representation. For a matrix of N data samples \mathbf{Y}=\left[{\mathbf{y}}_{1},\dots ,{\mathbf{y}}_{N}\right]\in {\mathbb{R}}^{G\times N}, the LMM can be rewritten with matrix notations
where \mathbf{M}=\left[{\mathbf{m}}_{1},\dots ,{\mathbf{m}}_{R}\right]\in {\mathbb{R}}^{G\times R}, \mathbf{A}=\left[{\mathbf{a}}_{1},\dots ,{\mathbf{a}}_{N}\right]\in {\mathbb{R}}^{R\times N} and \mathbf{N}=\left[{\mathbf{n}}_{1},\dots ,{\mathbf{n}}_{N}\right]\in {\mathbb{R}}^{G\times N} represent the factor score matrix, the factor loading matrix and the noise matrix, respectively. The matrices M, A satisfy positivity and sumtoone constraints defined by
where m_{g, r} denotes the (g, r)th element of matrix M. The constraints (5) arise naturally when dealing with positive data for which one is seeking the relative contribution of positive factors that have the same numerical characteristics as the data, i.e., the signature m_{ r } is itself interpretable as a vector of hybridization abundances.
The objective of linear unmixing is to simultaneously estimate the factor matrix M and the factor score matrix A from the available N data samples. The representation (1) is rank deficient since A has rank N − 1. This presents algorithmic challenges for solving the unmixing problem. Several algorithms have been proposed in the context of hyperspectral imaging to solve similar problems [6, 19]. Most of these algorithms perform unmixing in a two step procedure where M is estimated first using an endmember extraction algorithm (EEA) followed by a constrained linear least squares step to estimate A. A common (but restrictive) assumption in these algorithms is that some samples in the dataset are “pure” in the sense that the linear combination of (2) contains a unique factor, say m_{ r }, with factor score a_{r, i}. Recently, this assumption has been relaxed by applying a hierarchical Bayesian approach, called Bayesian linear unmixing (BLU). The resulting algorithm requires the number R of factors to be specified (see [13] for details). Here we extend BLU to a fully unsupervised algorithm, called unsupervised BLU (uBLU), that estimates R using a birthdeath model and a Gibbs sampler. The Gibbs sampler produces an estimate of the entire joint posterior distribution of the model parameters, resulting in a fully Bayesian estimator of the number of factors R, the factor loadings M, and the factor scores A. The uBLU model is described in the next subsection and the Gibbs sampling algorithm is given in the Appendix. In the Results and discussion section below we demonstrate the performance advantages of uBLU as a factor analysis model for simulated and real gene expression data.
Unsupervised Bayesian linear unmixing algorithm
The BLU algorithm studied in [13] generates samples distributed according to the posterior distribution of M and A given the number R of factors for appropriate prior distributions assigned to the mixing parameters in (2). First, the residual errors n_{ i } in (2) are assumed to be independent identically distributed (i.i.d.) according to zeromean Gaussian distributions: {\mathbf{n}}_{i}\sim \mathcal{N}\left({\mathbf{0}}_{G},{\sigma}^{2}{\mathbf{I}}_{G}\right) for i = 1, …, N, where I_{ G } denotes the identity matrix of dimension G × G.
The number of factors R to be estimated by the proposed uBLU algorithm is assigned a discrete uniform prior distribution on [2, …, R_{max}]
where R_{max} is the maximal number of factors present in the mixture.
Because of the constraints in (5), the data samples y_{ i } (i = 1, …, N) live in a lowerdimensional subspace of {\mathbb{R}}^{K} (whose dimension is upperbounded by K − 1) denoted as {\mathcal{V}}_{K1} (R_{max} − 1 ≤ K ≤ G). This subspace can be identified by a standard dimension reduction procedure, such as PCA. Hence, instead of estimating the factor loadings {\mathbf{m}}_{r}\in {\mathbb{R}}^{G} (r = 1, …, R), we propose to estimate their corresponding projections {\mathbf{t}}_{r}\in {\mathbb{R}}^{K} onto this subspace. Specifically, these projections can be represented as
where \stackrel{\u0304}{\mathbf{y}}=\frac{1}{N}\sum _{i=1}^{N}{\mathbf{y}}_{i} is the empirical mean of the data matrix Y and P is the (K − 1) × G appropriate projection matrix that projects onto {\mathcal{V}}_{K1}, which can be constructed from the principal eigenvectors of the empirical covariance matrix of Y. This dimension reduction procedure allows us to work in a lowerdimensional subspace without loss of information, and reduces significantly the computational complexity of the Bayes estimator of the factor loadings. A multivariate Gaussian distribution (MGD) truncated on a subset {\mathcal{T}}_{r} is chosen as prior distribution for the projected factors t_{ r }. The subset {\mathcal{T}}_{r} is defined in order to ensure the nonnegativity constraint on m_{ r } (see [13])
More precisely, {\mathcal{T}}_{r} is obtained by noting that {\mathbf{m}}_{r}={\mathbf{P}}^{1}{\mathbf{t}}_{r}+\stackrel{\u0304}{\mathbf{y}} and by looking for the vectors t_{ r } such that all components of {\mathbf{P}}^{1}{\mathbf{t}}_{r}+\stackrel{\u0304}{\mathbf{y}} are nonnegative. To estimate the mean vectors e_{ r } of these truncated MGDs, one can use a standard endmember extraction algorithm (EEA) common in hyperspectral imaging, e.g. NFINDR [19]. To summarize, the prior distribution for the projected factor t_{ r } is
where {\mathcal{N}}_{{\mathcal{T}}_{r}}\left({\mathbf{e}}_{r},{s}_{r}^{2}{\mathbf{I}}_{R1}\right) denotes the truncated MGD with mean vector e_{ r } and covariance matrix {s}_{r}^{2}{\mathbf{I}}_{R1}, with {s}_{r}^{2} a fixed hyperparameter. Assuming the vectors t_{ r }, for r = 1, …, R, are a priori independent, the prior distribution for the projected factor matrix T = [t_{1},…,t_{ R }] is
where ∝ stands for “proportional to”, ∥·∥ is the standard l_{2}norm, {\mathbf{1}}_{\mathcal{X}}(\xb7) denotes the indicator function on the set \mathcal{X}, E = [e_{1}, …, e_{ R }] and {\mathbf{s}}^{2}=\left[{s}_{1}^{2},\dots ,{s}_{R}^{2}\right].
The sumtoone constraint for the factor scores a_{ i }, for each observed sample i (i = 1, …, N), allows this vector a_{ i } to be rewritten as
and {a}_{R,i}=1\sum _{r=1}^{R1}{a}_{r,i}. Note here that any component of a_{ i } could be expressed as a function of the others, i.e., {a}_{r,i}=1\sum _{k\ne r}{a}_{k,i}. The last component a_{R, i} has been chosen here for notation simplicity. To ensure the positivity constraint, the subvectors a_{1:R − 1, i} must belong to the simplex
where ∥·∥_{1} is the l_{1} norm ({\u2225{\mathbf{a}}_{i}\u2225}_{1}=\sum _{r=1}^{R}\left{a}_{r,i}\right) and a_{ i }≽0 stands for the set of inequalities {a_{r,i} ≥ 0}_{r = 1, …, R}. Following the model in [13], we propose to assign uniform distributions over the simplex \mathcal{S} as priors for the subvectors a_{1:R − 1, i} (i = 1, …, N), i.e.,
For the prior distribution on the variance σ^{2} of the residual errors we chose a conjugate inverseGamma distribution with parameters ν / 2 and γ / 2
The shape parameter ν is a fixed hyperparameter whereas the scale parameter γ will be adjustable, as in [13]. A noninformative Jeffreys’ prior is chosen as prior distribution for the hyperparameter γ, i.e.,
The resulting hierarchical structure of the proposed uBLU model is summarized in the directed acyclic graph (DAG) presented in Additional file 1: Figure S1.
The model defined in (1) and the Gaussian assumption for the noise vectors n_{1}, …, n_{ N } allow the likelihood of y_{1}, …, y_{ N } to be determined
Multiplying this likelihood by the parameter priors defined in (10), (13), (14) and (6), and integrating out the nuisance parameter γ, the posterior distribution of the unknown parameter vector Θ = {M, A, σ^{2}, R} can be expressed as
Considering the parameters to be a priori independent, the following result can be obtained
where f(AR), f(TE, s^{2}, R) and f(σ^{2}ν, γ) are respectively the prior distributions of the factor score matrix A, the projected factor matrix T and the noise variance σ^{2} previously defined.
Due to the constraints enforced on the data, the posterior distribution f(M, A, RY) obtained from the proposed hierarchical structure is too complex to derive analytical expressions of the Bayesian estimators, e.g., the minimum mean square (MMSE) and maximum a posteriori (MAP) estimators. In such case, it is natural to use Markov chain Monte Carlo (MCMC) methods [20] to generate samples M^{(t)}, A^{(t)} and R^{(t)} asymptotically distributed according to f(M, A, RY). However, the dimensions of the factor loading matrix M and the factor score matrix A depend on the unknown number R of signatures to be identified. As a consequence, sampling from f(M, A, RY) requires exploring parameter spaces of different dimensions. To solve this dimension matching problem, we include a birth/death process within the MCMC procedure. Specifically, a birth, death or switch move is chosen at each iteration of the algorithm (see the Appendix and [21]). This birthdeath model differs from the classical reversiblejump MCMC (RJMCMC) (as defined in [21]) in the sense that, for the birthdeath model, each move is accepted or rejected at each iteration using the likelihood ratio between the current state and the new state proposed by the algorithm. The factor matrix M, the factor score matrix A and the noise variance σ^{2} are then updated, conditionally upon the number of factors R, using Gibbs moves.
After a sufficient number of iterations (N_{mc} iterations, including a burnin period of N_{bi} iterations), the traditional Bayesian estimators (e.g., MMSE and MAP) can be approximated using the generated samples M^{(t)}, A^{(t)} and R^{(t)}. First, the generated samples are used to approximate the MAP estimator of the number of factors
where N_{ k } is the number of generated samples {R}^{({\mathrm{N}}_{\text{bi}}+1)},\dots ,{R}^{\left({\mathrm{N}}_{\text{mc}}\right)} satisfying R^{(t)} = k and {\mathrm{N}}_{\mathrm{r}}={\mathrm{N}}_{\text{mc}}{\mathrm{N}}_{\text{bi}}. Then, conditioned on {\stackrel{\u02c6}{R}}_{\text{MAP}}, the joint MAP estimator \left({\stackrel{\u02c6}{\mathbf{M}}}_{\text{MAP}},{\stackrel{\u02c6}{\mathbf{A}}}_{\text{MAP}}\right) of the factor and factor score matrices is determined as follows
Results and discussion
The proposed method consists of estimating simultaneously the matrices M and A defined in (1), under the positivity and sumtoone constraints mentioned previously, in a fully unsupervised framework, i.e., the number of factors R is also estimated from the data. A Gibbs sampler algorithm is designed that generates samples distributed according to the posterior distribution associated to the proposed uBLU model. For more details about the Gibbs sampling strategy, see the Appendix.
Simulations on synthetic data
To illustrate the performance of the proposed Bayesian factor decomposition, we first present simulations conducted on synthetic data. More extensive simulation results are reported in the Additional file 1.
Simulation scenario
Several synthetic datasets {\mathcal{D}}_{1},\dots ,{\mathcal{D}}_{4} were generated. The experiments presented here correspond to the expression values of G = 512 genes (for datasets {\mathcal{D}}_{1}, {\mathcal{D}}_{3} and {\mathcal{D}}_{4}) or G=12000 genes (for dataset {\mathcal{D}}_{2}) with N = 128 samples. Each sample is composed of exactly R=3 factors mixed using the linear mixing model in (1). The factors of the first dataset {\mathcal{D}}_{1} have been generated so that only a few genes affect each factor. For the second dataset {\mathcal{D}}_{2}, realistic factors have been extracted from real genetic datasets. The third dataset {\mathcal{D}}_{3} has been generated enforcing the factors to be orthogonal but not necessarily positive whereas in the forth dataset, {\mathcal{D}}_{4}, factors are orthogonal and positive. These simulation conditions are summarized in Table 1.
In each case, the R = 3 factors were mixed in random proportions (factor scores), with positivity and sumtoone constraints. All synthetic datasets were corrupted by an i.i.d. Gaussian noise sequence. The signaltonoise ratio is SNR_{ i } = 20 dB where{\text{SNR}}_{i}={G}^{1}{\sigma}^{2}{\u2225\sum _{r=1}^{R}{\mathbf{m}}_{r}{a}_{r,i}\u2225}^{2} for each sample i(i = 1, …, N).
Proposed method (uBLU)
The first step of the algorithm consists of estimating the number of factors R involved in the mixture, and hence determining the dimensions of the matrices M and A, using the maximum a posteriori (MAP) estimator {\stackrel{\u02c6}{R}}_{\text{MAP}}. The second step of the algorithm consists of estimating the unknown model parameters (M, A and σ^{2}) given{\stackrel{\u02c6}{R}}_{\text{MAP}}. The estimated posterior distributions of the unknown model parameters are given in Additional file 1: Figure S5 and validate the proposed Bayesian model.
The burnin period and number of Gibbs samples were determined using quantitative methods described in the Additional file 1: Section “Convergence diagnosis”.
Comparison to other methods
The performance of the proposed uBLU algorithm is compared with other existing factor decomposition methods including PCA, NMF, BFRM and GBGMF by using the following criteria, which are common measures used to compare factor analysis algorithms,

the factor mean square errors (MSE)
{\text{MSE}}_{r}^{2}=\frac{1}{G}{\u2225{\stackrel{\u02c6}{\mathbf{m}}}_{r}{\mathbf{m}}_{r}\u2225}^{2},\phantom{\rule{1em}{0ex}}r=1,\dots ,R
where{\stackrel{\u02c6}{\mathbf{m}}}_{r} is the estimated rth factor loading vector,

the global MSE of factor scores
{\text{GMSE}}_{r}^{2}=\frac{1}{N}\sum _{i=1}^{N}{\left({\xe2}_{r,i}{a}_{r,i}\right)}^{2},\phantom{\rule{1em}{0ex}}r=1,\dots ,R
where {\xe2}_{r,i} is the estimated proportion of the rth factor in the ith sample,

the reconstruction error (RE)
\text{RE}=\frac{1}{\mathit{\text{NG}}}\sum _{i=1}^{N}{\u2225{\mathbf{y}}_{i}{\stackrel{\u02c6}{\mathbf{y}}}_{i}\u2225}^{2}(21)

where{\stackrel{\u02c6}{\mathbf{y}}}_{i}=\sum _{r=1}^{R}{\stackrel{\u02c6}{\mathbf{m}}}_{r}{\xe2}_{r,i} is the estimate of y_{ i },

the spectral angle distance (SAD) between m_{ r } and its estimate{\stackrel{\u02c6}{\mathbf{m}}}_{r} for each factor r = 1, …, R
{\text{SAD}}_{r}=arccos\left(\frac{{\stackrel{\u02c6}{\mathbf{m}}}_{r}^{T}{\mathbf{m}}_{r}}{\u2225{\stackrel{\u02c6}{\mathbf{m}}}_{r}\u2225\u2225{\mathbf{m}}_{r}\u2225}\right)
where arccos(·) is the inverse cosine function,

the global spectral angle distance (GSAD) between y_{ i } (the ith observation vector) and {\stackrel{\u02c6}{\mathbf{y}}}_{i} (its estimate)
\text{GSAD}=\frac{1}{N}\sum _{i=1}^{N}arccos\left(\frac{{\stackrel{\u02c6}{\mathbf{y}}}_{i}^{T}{\mathbf{y}}_{i}}{\u2225{\stackrel{\u02c6}{\mathbf{y}}}_{i}\u2225\u2225{\mathbf{y}}_{i}\u2225}\right),

the computational time.
The proposed uBLU algorithm, the PCA, NMF and GBGMF methods were implemented in Matlab 7.8.0 (R2009a). The BFRM software (version 2.0) was downloaded from [22] and implemented with default values for the parameters. All methods were implemented on an Intel(R) Core(TM)2 Duo processor.
Simulation results are reported in Tables 2, 3, 4 and 5. Note that the positivity and sumtoone constraints that are enforced on the data for the proposed uBLU algorithm avoid the scale ambiguity inherent to any factor decomposition problem. Conversely, for the other factor decomposition methods (PCA, NMF, BFRM and GBGMF), if {M, A} is an admissible solution, {M B, B^{T}A} is also admissible for any scaling and permutation matrix B. Hence a rescaling is required to identify appropriate permutations before computing MSEs and GMSEs. Moreover, when PCA, NMF, BFRM and GBGMF methods are run for R = 4, we only considered the 3 factors yielding the 3 smallest SADs values.
These results show that the uBLU method is more flexible since it provides better unmixing performance across all of the considered synthetic datasets {\mathcal{D}}_{1},\dots ,{\mathcal{D}}_{4} as compared to other existing factorization methods (PCA, NMF, BFRM and GBGMF). Moreover, uBLU has the following advantages: i) it is fully unsupervised and does not require the number of factors to be specified as a prior knowledge, ii) due to the constraints, the factors and factor scores are estimated without scale ambiguity. The disadvantage is the execution time: uBLU requires more computation due to the Gibbs sampling.
Evaluation on gene expression data
Here the proposed algorithm is illustrated on a real timeevolving gene expression data from recent viral challenge studies on influenza A/H3N2/Wisconsin. The data are available at GEO, accession number GSE30550.
Details on data collection
We briefly describe the dataset. For more details the reader is referred to [14, 18]. H3N2 dataset consists of the gene expression levels of N = 267 Affymetrix chips collected on 17 healthy human volunteers experimentally infected with influenza A/Wisconsin/67/2005 (H3N2). A clinical symptom score was assigned to each sample by clinicians who participated in the study. Nine of the 17 subjects (those labeled Z01, Z05, Z06, Z07, Z08, Z10, Z12, Z13, and Z15 in Figure 1c) became clinically ill during the study. These labels are only used as ground truth to quantify performance and are not available to the uBLU algorithm. The challenge consists of inoculating intranasally a dose of 10^{6} TCID_{50} Influenza A manufactured and processed under current good manufacturing practices (cGMP) by Baxter BioScience. Peripheral blood microarray analysis was performed at multiple time instants corresponding to baseline (24 hours prior to inoculation with virus), then at 8 hour intervals for the initial 120 hours and then 24 hours for two further days. Each sample consisted of over G = 12000 gene expression values after standard microarray data normalization with RMA using the custom brain array cdf [14]. No other preprocessing was applied prior to running the five unsupervised methods (uBLU, PCA, NMF, BFRM, and GBGMF).
Application of the proposed uBLU algorithm
The uBLU algorithm was run with N_{mc} = 10000 Monte Carlo iterations, including a burnin period of N_{bi} = 1000 iterations. uBLU allows the posterior distribution of the number of factors R, depicted in Figure 1a, to be estimated. The results show that the MAP estimate of the number of factors is{\stackrel{\u02c6}{R}}_{\text{MAP}}=4 (more than 90% of the generated Gibbs samples of the number of factors were equal to 4).
Figure 2 shows the reconstruction error RE^{(t)} as a function of the number of iterations (t = 1, …). The reconstruction errors are computed from the observed gene expression data matrix and the estimates of the factor and factor score matrix M and A at each iteration. Figure 2 also indicates that the number of burnin and Monte Carlo samples N_{bi} = 1000 and N_{mc} = 10000 are sufficient.
The different factors are depicted in Figure 1b where the G genes have been reordered so that the dominant genes are grouped together in each factor. Factors are then ordered with respect to their maximum loading. Specifically, the kth sharp peak in the figure occurs at the gene index that has maximal loading in factor k. Genes to the right of this dominant gene up to the (k + 1)st peak also dominate in this kth factor, but at a lower degree. uBLU identifies a strong factor (the first factor, in red) by virtue of its significantly larger proportion of highly dominant genes. Many of the genes in this strong factor are recognizable as immune response genes that regulate pattern recognition, interferon, and inflammation pathways in respiratory viral response. A very similar factor was found in a different analysis [14, 18] of this dataset and here we call it the “inflammatory component”.
The factor scores corresponding to this inflammatory component are shown in Figure 1c, where they are rendered as an image whose columns (respectively rows) index the subjects (respectively the different time sampling instants). Figure 1c shows that uBLU clearly separates the samples of subjects exhibiting symptoms (associated with the last 9 rows) from those who remain asymptomatic (associated with the first 8 rows), when the estimated number of factors is\stackrel{\u02c6}{R}=4. Moreover, this symptom factor can be used to segment the data matrix into 3 states: preonsetsymptomatic (before significant symptoms occur), postonsetsymptomatic and asymptomatic.
Furthermore, this inflammatory factor identified by the proposed uBLU algorithm is most highly represented in those samples associated with acute flu symptoms, as measured by modified Jackson scores (see [14], Figure 1B). The dominant gene contributors to this inflammatory component correspond to wellknown transcription factors controlling immune response, inflammatory response and antigen presentation  see Table 6. The reader is referred to [14, 18] for more details on clinical determination of symptom scores and biological significance of the inflammatory component genes.
For comparison we applied a supervised version of the proposed uBLU algorithm to the H3N2 dataset. This was implemented by setting the number of factors to R = 4 and using the algorithm [13] to jointly estimate M and A. The inflammatory component found by the supervised algorithm was virtually identical to the one found by the proposed algorithm (uBLU) that automatically selects R = 4.
Comparison to other methods
The uBLU algorithm is compared with four matrix factorization algorithms, i.e. PCA, NMF, BFRM and GBGMF methods.
Figure 3 depicts the different factors, ordered so that the inflammatory group is the leftmost one (in red). The factor loadings obtained with NMF or PCA reveal the inflammatory component. However, there are fewer highly dominant genes in the NMF and PCA loadings for this factor as compared to uBLU. The BFRM and GBGMF methods found four pathways, several overlapping with those of uBLU, NMF and PCA.
The factor scores of the five matrix factorization methods corresponding to the inflammatory component are depicted in Figure 4. This figure shows that the uBLU and the NMF methods are better able to attain a high contrast separation between the acutely symptomatic samples and the other samples. This is confirmed by the evaluation of the Fisher criteria (22) between these two regions (see Table 7). Indeed, denote by (μ_{pos}, σ^{2}pos) the empirical mean and variance of the scores associated with the N_{pos} samples in the acute symptomatic state (bright colored samples in the lower right rectangle of Figure 1c). Denote by \left({\mu}_{\overline{\text{pos}}},{{\sigma}^{2}}_{\overline{\text{pos}}}\right) the same parameters for the remaining samples. The Fisher linear discriminant measure ([23], p. 119) is defined as
To compare the biological relevance of the inflammatory genes found by uBLU to those found by the other methods we performed gene enrichment analysis (GEA). Here we only report GEA comparisons between uBLU and NMF. Tables 6 and 8 show the pathway enrichment associated with the top 200 genes found by uBLU and NMF, respectively, using NCI pathway interaction database (http://pid.nci.nih.gov). The uBLU genes are significantly better associated with the NCIcurated pathways than the NMF genes. In particular, the two most enriched pathways, IFNgamma and PDGFR beta signaling, associated with the uBLU genes have much higher statistical significance (lower pvalue) than any of the pathways associated with NMF.
Figure 5 shows how the factor scores of the dominant factor can be used as features to cluster samples. Euclidean multidimensional scaling (MDS) [24] is used to map the factor score vector for each sample as a coordinate in the plane. Each sample is embedded with a color and a size, denoting the state of the subject (asymptomatic subjects in blue, symptomatic subjects in red) and the time stamp, respectively. These figures show that uBLU can separate sick and healthy subjects, as well as or better than NMF, BFRM and GBGMF.
One can conclude from these comparisons that, when applied on the H3N2 dataset, the proposed uBLU algorithm outperforms PCA, NMF, BFRM, and GBGMF algorithms in terms of finding genes with higher pathway enrichment and achieving higher contrast of the acute symptom states.
The computational times required by the five considered matrix factorization methods, including the proposed uBLU algorithm, when applied to this real dataset, are reported in Table 7. The GBGMF algorithm is slightly faster than the proposed algorithm but does not identify the inflammatory component or achieve good contrast of the acute symptom states in the H3N2 challenge study.
Conclusions
This paper proposes a new Bayesian unmixing algorithm for discovering signatures in high dimensional biological data, and specifically for gene expression microarrays. An interesting property of the proposed algorithm is that it provides positive factor loadings to ensure positivity as well as sumtoone constraints for the factor scores. The advantages of these constraints are that they lead to better discrimination between sick and healthy individuals, and they recover the inflammatory genes in a unique factor, the inflammatory component. The proposed algorithm is fully unsupervised in the sense that it does not depend on any labeling of the samples and that it can infer the number of factors directly from the observation data matrix. Finally, as any Bayesian algorithm, the Monte Carlobased procedure investigated in this study provides point estimates as well as confidence intervals for the unknown parameters, contrary to many existing factor decomposition methods such as PCA or NMF.
Simulation results performed on synthetic and real data demonstrated significant improvements. Indeed, when applied to real timeevolving gene expression datasets, the uBLU algorithm revealed an inflammatory factor with higher contrast between subjects who would become symptomatic from those who would remain asymptomatic (as determined by comparing to ground truth clinical labels).
In this study, the time samples were modeled as independent. Future works include extensions of the proposed model to account for time dependency between samples.
Appendix A: Gibbs sampler
This appendix provides more details about the Gibbs sampler strategy to generate samples\{{\mathbf{M}}^{\left(t\right)},{\mathbf{A}}^{\left(t\right)},{\sigma}^{{2}^{\left(t\right)}},{R}^{\left(t\right)}\} distributed according to the joint distributionf\left(\mathbf{M},\mathbf{A},{\sigma}^{2},R\mathbf{Y}\right) (the reader is referred to [25] for more details about the Gibbs sampler and MCMC methods). This joint distribution can be obtained by integrating out the hyperparameter γ from f(Θ, γY) defined in (18) and can be written
where the dimensions of the matrices M, T, and A depend on the unknown number of factors R and the priors have been defined in the Section “Methods”.
The different steps of the Gibbs sampler are detailed below.
Inference of the number of factors
The proposed unsupervised algorithm includes a birth/death process for inferring the number of factors R, i.e., it generates samples R in addition to M and A. More precisely, at iteration t of the algorithm, a birth, death or switch move is randomly chosen with probabilities {b}_{{R}^{\left(t\right)}}, {d}_{{R}^{\left(t\right)}} and {s}_{{R}^{\left(t\right)}}. The birth and death moves consist of increasing or decreasing by 1 the number R of factors using a reversible jump step (see [21] for more details), whereas the switch move does not change the dimension of R and requires the use of a MetropolisHastings acceptance procedure. Let consider a move, at iteration index t, from the state {M^{(t)}, A^{(t)}, R^{(t)}} to the new state {M^{⋆}, A^{⋆}, R^{⋆}}. The birth, death and switch moves are defined as follows, similar to those used in [26] (Algorithms 3, 4 and 5).

Birth move: When a birth move is proposed, a new signature m^{⋆} is randomly generated to build M^{⋆} = [M^{(t)}, m^{⋆}]. The new corresponding space is checked so that the signatures are sufficiently distinct and separate from one another. Then, a new factor score coefficient is drawn, for each vector a_{ i } (i = 1, …, N), from a Beta distribution \mathcal{\mathcal{B}}\left(1,{R}^{\left(t\right)}\right), and the new factor score matrix, denoted as A^{⋆}, is rescaled to sum to one.

Death move: When a death move is proposed, one of the factors of M^{(t)}, and its corresponding factor score coefficients, are randomly removed. The remaining factor scores are rescaled to ensure the sumtoone constraint.

Switch move: When a switch move is proposed, a signature m^{⋆} is randomly chosen and replaced with another signature randomly generated. If the new signature is too close to another, its corresponding factor scores are proportionately distributed among its closest factors. Indeed, the switch move consists of creating a new signature (birth move) and deleting another one (death move) in a faster single step.
Each move is then accepted or rejected according to an empirical acceptance probability: the likelihood ratio between the actual state and the proposed new state. The factor matrix M, the factor score matrix A and the noise variance σ^{2} are then updated, conditionally upon the number of factors R, using the following Gibbs steps.
Generation of samples according to f(TA, σ^{2}, R, Y)
Sampling from the joint conditional f(TA, σ^{2}, R,Y) is achieved by updating each column of T using Gibbs moves. Let denote T_{∖r} the matrix T whose rth column has been removed. The posterior distribution of t_{ r } is the following truncated multivariate Gaussian distribution (MGD)
where
For more details on how we generate realizations from this truncated distribution, see [13].
Generation of samples according to f(a_{1:R − 1, i}T, σ^{2}, R, Y)
Straightforward computations lead to the posterior distribution of each element of a_{1:R − 1, i}
where
and M_{∖R} denotes the factor loading matrix M whose Rth column has been removed. Equation (26) shows that the factor score distribution is an MGD truncated on the simplex \mathcal{S} defined in (12).
Generation of samples according to f(σ^{2}T, A, R, Y)
Using (14) and (16), one can show that the conditional distribution f(σ^{2}M, A, Y) is the following inverseGamma distribution
Appendix B: Contribution of each of uBLU’s constraints
To illustrate the advantage of enforcing nonnegativity and sumtoone constraints on the factors and on the factor scores, as detailed in the Methods section, we evaluated the effect of successively stripping out these constraints from uBLU. In particular we implemented uBLU under the following conditions: i) without any constraints, ii) with only the positivity constraints on the factors and the scores, iii) with only the sumtoone constraint on the scores, and iv) with both positivity and sumtoone constraint on factors and scores as proposed in (5).
Figures 6 display heatmaps of the factor scores of the inflammatory component. The segmentation into two main regions (postsymptomatic samples and asymptomatic samples) becomes apparent only when the sumtoone constraint is enforced on the scores. To quantify the benefit that is visible in Figure 6 we performed a GEA analysis, reported in Table 9, on the top 200 genes found in each of the inflammatory components found by uBLU implemented with no constraints, positivity constraints, sumtoone constraints, and both constraints. The table shows that both constraints are necessary to obtain the best enrichment scores (lowest possible pvalues).
References
Carvalho CM, Chang J, Lucas JE, Nevins JR, Wang Q, West M: Highdimensional sparse factor modelling: applications in gene expression genomics. J Am Stat Assoc 2008,103(484):14381456. 10.1198/016214508000000869
Paisley J, Carin L: Nonparametric factor analysis with beta process priors. In Proc 26th Annual Int Conf on Machine Learning. ICML 2009. Montreal, Quebec, Canada; 2009:777784.
Chen B, Chen M, Paisley J, Zaas A, Woods C, Ginsburg GS, Hero AO, Lucas J, Dunson D, Carin L: Bayesian inference of the number of factors in geneexpression analysis: application to human virus challenge studies. BMC Bioinformatics 2010, 11: 552. 10.1186/1471210511552
West M: Bayesian Factor regression models in the “Large p, Small n” paradigm. In Bayesian Statistics 7. Oxford University Press; 2003:723732.
Yeung KY, Ruzzo WL: Principal component analysis for clustering gene expression data. Bioinformatics 2001,17(9):763774. 10.1093/bioinformatics/17.9.763
Nascimento JM, BioucasDias JM: Vertex component analysis: A fast algorithm to unmix hyperspectral data. IEEE Trans Geosci Remote Sensing 2005,43(4):898910.
Lee DD, Seung HS: Algorithms for nonnegative matrix factorization. Proc Neural Info Process Syst 2000, 13: 556562.
Fogel P, Young SS, Hawkins DM, Ledirac N: Inferential, robust nonnegative matrix factorization analysis of microarray data. Bioinformatics 2007, 23: 4449. 10.1093/bioinformatics/btl550
McLachlan GJ, Bean RW, Peel D: A mixture modelbased approach to the clustering of microarray expression data. Bioinformatics 2002,18(3):413422. 10.1093/bioinformatics/18.3.413
Baek J, McLachlan GJ: Mixtures of common tfactor analyzers for clustering highdimensional microarray data. Bioinformatics 2011, 27: 12691276. 10.1093/bioinformatics/btr112
Moloshok TD, Klevecz RR, Grant JD, Manion FJ, Speier WF, Ochs MF: Application of Bayesian decomposition for analysing microarray data. Bioinformatics 2002, 18: 566575. 10.1093/bioinformatics/18.4.566
Fertig EJ, Ding J, Favorov AV, Parmigiani G, Ochs MF: CoGAPS: an R/C++ package to identify patterns and biological process activity in transcriptomic data. Bioinformatics 2010, 26: 27922793. 10.1093/bioinformatics/btq503
Dobigeon N, Moussaoui S, Coulon M, Tourneret JY, Hero AO: Joint Bayesian endmember extraction and linear unmixing for hyperspectral imagery. IEEE Trans Signal Process 2009,57(11):43554368.
Huang Y, Zaas AK, Rao A, Dobigeon N, Woolf PJ, Veldman T, Oien NC, McClain MT, Varkey JB, Nicholson B, Carin L, Kingsmore S, Woods CW, Ginsburg GS, Hero A: Temporal dynamics of host molecular responses differentiate symptomatic and asymptomatic influenza A infection. PLoS Genet 2011,8(7):e1002234.
Hyvärinen A, Karhunen J, Oja E: Independent Component Analysis. New York: John Wiley; 2001.
Dueck D, Morris QD, Frey BJ: Multiway clustering of microarray data using probabilistic sparse matrix factorization. Bioinformatics 2005, 21: 144151. 10.1093/bioinformatics/bth498
Nikulin V, Huang TH, Ng SK, Rathnayake S, McLachlan GJ: A very fast algorithm for matrix factorization. Stat Probability Lett 2011,81(7):773782. 10.1016/j.spl.2011.02.001
Zaas AK, Chen M, Varkey J, Veldman T, Hero AO, Lucas J, Huang Y, Turner R, Gilbert A, LambkinWilliams R, Øien NC, Nicholson B, Kingsmore S, Carin L, Woods CW, Ginsburg GS: Gene expression signatures diagnose influenza and other symptomatic respiratory viral infections in humans. Cell Host Microbe 2009,6(3):207217. [http://www.ncbi.nlm.nih.gov/pubmed/19664979] [] 10.1016/j.chom.2009.07.006
Winter ME: NFINDR: an algorithm for fast autonomous spectral endmember determination in hyperspectral data. Imaging Spectrometry V Proc SPIE 3753 1999, 266275.
Gilks WR, Richardson S, Spiegelhalter DJ: Markov Chain Monte Carlo in Practice. London: Chapman and Hall; 1996. (ISBN: 0412055511) (ISBN: 0412055511)
Green PJ: Reversible jump Markov chain Monte Carlo computation and Bayesian model determination. Biometrika 1995,82(4):711732. 10.1093/biomet/82.4.711
BFRM Software: bayesian factor regression modelling [http://www.stat.duke.edu/research/software/west/bfrm/download.html] []
Duda RO, Hart PE, Stork DG: Pattern Classification. New York: WileyInterscience; 2000.
Cox TF, Cox MAA: Multidimensional Scaling. London: Chapman and Hall; 1994.
Robert CP, Casella G: Monte Carlo Statistical Methods. New York: SpringerVerlag; 1999.
Dobigeon N, Tourneret JY, Chang CI: Semisupervised linear spectral unmixing using a hierarchical Bayesian model for hyperspectral imagery. IEEE Trans Signal Process 2008,56(7):26842695.
Acknowledgements
This work was supported in part by DARPA under the PHD program (DARPAN6600109C2082). The views, opinions, and findings contained in this article are those of the authors and should not be interpreted as representing the official views or policies, either expressed or implied, of the Defense Advanced Research Projects Agency or the Department of Defense. Approved for Public Release, Distribution Unlimited.
Author information
Authors and Affiliations
Corresponding authors
Additional information
Competing interests
The authors declare that they have no competing interests.
Authors’ contributions
CB, ND, JYT and AH performed the statistical analysis. GG and AZ designed the Flu challenge experiment that generated the data used to compare the methods. All authors contributed to the manuscript and approved the final version.
Electronic supplementary material
12859_2012_5920_MOESM1_ESM.pdf
Additional file 1:Supplementary materials on algorithm details and performance validation. Directed acyclic graph (DAG) of the model and flowchart of the proposed algorithm are provided in this additional file. More results on synthetic datasets are also presented to validate the proposed Bayesian algorithm, including a convergence diagnosis. (PDF 774 KB)
Authors’ original submitted files for images
Below are the links to the authors’ original submitted files for images.
Rights and permissions
This article is published under license to BioMed Central Ltd. This is an Open Access article distributed under the terms of the Creative Commons Attribution License (http://creativecommons.org/licenses/by/2.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
About this article
Cite this article
Bazot, C., Dobigeon, N., Tourneret, JY. et al. Unsupervised Bayesian linear unmixing of gene expression microarrays. BMC Bioinformatics 14, 99 (2013). https://doi.org/10.1186/147121051499
Received:
Accepted:
Published:
DOI: https://doi.org/10.1186/147121051499
Keywords
 Markov Chain Monte Carlo
 Independent Component Analysis
 Factor Score
 Inflammatory Component
 Switch Move