Independent research index. Livestock Library today is an Australian livestock-software business. We are not affiliated with the former Livestock Library repository that the Sheep CRC and Beef CRC built and AGBU managed, which closed in 2026. Summaries here are our own writing; the research belongs to its authors and publishers. About this index
Research summary · AAABG proceedings

Bayesian mixture modelling tool BAYESMIX speeds gene expression clustering

Analysing gene expression ratios across thousands of genes from Brahman steers took BAYESMIX just under six minutes, against more than fifteen hours for a rival maximum likelihood program. That contrast, reported by Reverter and colleagues, sits at the centre of a paper introducing BAYESMIX, a FORTRAN 90 program built to run Bayesian mixture modelling on the large, noisy datasets produced by microarray experiments.

By the Livestock Library teamPublished 22 November 20267 min read

The paper

BAYESMIX : a software program for Bayesian analysis of mixture

Authors
A. Reverter, K.A. Byrne, B.P. Dalrymple
Published
2003
In
Proc. Assoc. Advmt. Anim. Breed. Genet. 15
Collection
AAABG proceedings
Listed on the old library
25 January 2012
Read the paper at AAABG proceedings (aaabg.org), free PDF →
Reference: Reverter, A., Byrne, K.A. and Dalrymple, B.P. (2003) BAYESMIX : a software program for Bayesian analysis of mixture. Proc. Assoc. Advmt. Anim. Breed. Genet. 15.
Microarray slides and data screen used in Bayesian mixture modelling research
Illustration generated for this summary; not a photograph from the study.
In this summary
  1. Why clustering gene expression data is hard
  2. Building the Bayesian mixture modelling engine behind BAYESMIX
  3. Testing the program on simulated and real data
  4. What the comparison with EMMIX showed
  5. Reading the cluster numbers with care
  6. Where the work was published
  7. Practical implications for researchers handling large datasets
  8. Sources and further reading
  9. Questions

Why clustering gene expression data is hard#

Microarray experiments measure the activity of thousands of genes at once, and researchers need a way to sort them into groups that behave differently under different conditions. The paper explains that treating all these measurements as coming from one single distribution misses the point: some genes barely change while others shift sharply, and a useful statistical model has to allow for that variety.

Model-based clustering tackles this by assuming the data are actually a mixture of several underlying distributions, each representing a subpopulation of genes with its own typical behaviour. The paper describes this approach as the preferred way of identifying genes with differential expression, noting that it gives stable results and that several existing methods can estimate how many clusters are present. It also notes that this framework has been applied elsewhere to work out the statistical power to detect a given size of change, and to estimate how many replicate samples an experiment needs.

Despite this appeal, the authors point out that software able to handle the scale of microarray datasets efficiently was limited at the time. That gap is what BAYESMIX was built to address, applying a Bayesian form of mixture modelling to cDNA microarray data on gene activity.

Building the Bayesian mixture modelling engine behind BAYESMIX#

BAYESMIX treats each cluster in the data as generated by its own underlying normal distribution, with an unknown but finite number of components up to five. Every observed measurement is modelled as having come, independently of the others, from one of these normal distributions, each with its own mean, variance and mixing proportion, with the mixing proportions across all components required to add up to one.

Following prior work by Raftery, the program applies gamma, normal and Dirichlet prior distributions to the variances, means and mixing proportions respectively. These priors are described as constants set from the data itself, following an approach from Richardson and Green, chosen so the prior was relatively flat across the plausible range of values.

The actual estimation runs through a Gibbs sampler, a computational technique that draws repeatedly from a set of conditional distributions to build up a picture of the most likely parameter values. BAYESMIX runs this Markov chain for 12,000 iterations, discards the first 2,000 as burn-in, and uses the remaining 10,000 samples to calculate point estimates. Model selection draws on the likelihood value together with the Akaike Information Criterion and the Bayesian Information Criterion, and the program also works out, for every data point, the posterior probability that it belongs to each cluster, assigning it to whichever cluster scores highest.

Testing the program on simulated and real data#

The authors tested BAYESMIX against three datasets and benchmarked it against EMMIX, a maximum likelihood program described as freely available on the web. Data 1 was a simple simulated set of 1,000 records built from two equally sized normal distributions centred at minus 10 and plus 10, intended mainly to illustrate the basic concept of a mixture model.

Data 2 was a more elaborate simulation of 2,000 records drawn from three distributions, with 10 percent of records at each extreme coming from distributions with very different means and larger spread than the bulk, 80 percent, of observations clustered near zero. This was designed to mimic the kind of pattern expected in real gene expression data, where a minority of genes behave very differently from the rest.

Data 3 was real microarray data drawn from steers on contrasting diets, with the underlying experiment described in a separate paper by Reverter and colleagues. Testing across these three datasets, moving from a clean simulation through a more realistic simulation to actual biological data, gives some confidence that the software's behaviour is not an artefact of one particular dataset, though three test cases remain a limited basis for drawing firm general conclusions.

Brahman steers in a feedlot pen where contrasting diets were compared
Illustration generated for this summary; not a photograph from the study.

What the comparison with EMMIX showed#

For Data 1 and Data 2, the paper reports no differences between BAYESMIX and EMMIX in their estimates of mixing proportions, means and variances for each cluster, and both sets of estimates matched the true simulated values closely. The likelihood value was consistently higher for EMMIX, which the authors note is expected given that EMMIX is a maximum likelihood method by design.

The clearest practical difference was speed. BAYESMIX reached a solution for Data 1 in 1 minute 14 seconds and for Data 2 in 2 minutes 34 seconds, figures the paper describes as several times quicker than the equivalent runs under EMMIX.

On the real data, Data 3, both programs agreed that three clusters was the best-fitting model. But the two methods diverged in how they described those clusters. EMMIX, after a long computing run measured in hundreds of minutes, placed a single cluster with a mean close to zero and a markedly wide spread, capturing a small share of extreme records taken to represent differentially expressed genes. BAYESMIX, finishing in well under ten minutes, instead split the data into three clusters in which two separate clusters captured the most extreme observations from each side of the distribution, rather than lumping them together.

BAYESMIX versus EMMIX in Bayesian mixture modelling of real gene data: Clustering steer gene expression data, from Reverter, Byrne and Dalrymple (2003)
Diagram: Livestock Library · open full size

Reading the cluster numbers with care#

The detailed results table gives a sense of how closely the two methods tracked each other on the simulated data. For Data 1, BAYESMIX estimated the two clusters at 50.0 percent and 50.0 percent of records, with means of minus 9.61 and 9.66 and variances of 9.59 and 9.61, close to both the true simulated values and the maximum likelihood estimates. For Data 2, BAYESMIX's three clusters came out at 10.3, 79.6 and 10.1 percent, again close to the EMMIX figures and the true 10, 80, 10 split used to build the simulation.

On the real steer data, BAYESMIX produced three clusters sized 0.8, 98.1 and 1.1 percent, with the smallest cluster carrying a mean of minus 1.02 and a wide variance of 208.79, and the largest extreme cluster showing a strongly negative mean alongside a comparatively small variance. These numbers illustrate how a mixture model can pull out a small subset of extreme genes even when the bulk of measurements sit close together.

The authors add an important caution here. They note that conditional probabilities calculated from maximum likelihood parameter estimates, treating those estimates as though they were the true values, need to be interpreted carefully, because in mixture models it is not always clear that the usual large-sample statistical properties hold once a dataset departs from standard conditions. That caveat applies to EMMIX's output specifically, but it is a useful reminder that cluster membership assignments from any mixture model carry some uncertainty.

Grain ration trough used in cattle diet quality research
Illustration generated for this summary; not a photograph from the study.

Where the work was published#

The paper situates BAYESMIX within a wider body of work on mixture models, citing the general literature on the topic as well as specific applications such as using model-based clustering to calculate detection power for gene expression changes and to estimate the number of replicate samples an experiment needs. It also draws directly on statistical methods set out by Raftery for prior specification and by Richardson and Green for setting data-dependent priors.

BAYESMIX was developed and tested using a Linux-based compiler, but the authors describe it as adaptable across different computer platforms and modes of user interaction, and note that the executable can be obtained on request at no cost by research bodies, restricted to non-commercial purposes. This positions it as a practical tool rather than a purely theoretical exercise, aimed at researchers working with large microarray datasets who need a workable alternative to slower maximum likelihood software.

The work was presented at the Association for the Advancement of Animal Breeding and Genetics conference, and the proceedings are held among the AAABG conference proceedings in this index, which also carries other quantitative work across the broader library of livestock research summaries.

Practical implications for researchers handling large datasets#

For researchers working with microarray or other large-scale biological datasets, the headline finding is a straightforward trade-off worth weighing: BAYESMIX produced cluster estimates on simulated data that closely matched both the true values and those from an established maximum likelihood program, while running considerably faster, and on real biological data it handled extreme values differently to EMMIX by separating them into distinct clusters rather than merging them into one broad cluster.

We would treat this as a useful demonstration of feasibility rather than a definitive comparison, given that the validation rests on only two simulated datasets and one real dataset, with no independent replication reported within the paper itself. Researchers considering the tool for their own data would still need to judge whether its assumptions, a fixed maximum of five mixture components and normally distributed clusters, suit their particular application.

Even with that caveat, the speed difference reported for the real dataset, minutes for BAYESMIX against hundreds of minutes for EMMIX, is large enough to matter for anyone working with datasets of similar scale, where faster turnaround can mean the difference between testing several models and settling for just one.

Sources and further reading#

Questions#

What is BAYESMIX used for?

BAYESMIX is a FORTRAN 90 software program built to perform Bayesian mixture modelling, with a specific application described in the paper to sorting cDNA microarray gene activity data into groups according to how strongly expression differs between genes.

How does BAYESMIX compare with EMMIX?

The paper reports that on simulated datasets, BAYESMIX and the maximum likelihood program EMMIX produced very similar estimates of cluster proportions, means and variances, but BAYESMIX ran considerably faster in every comparison the authors report.

Did BAYESMIX and EMMIX find the same clusters in real data?

Both programs selected three clusters as the best-fitting model for the real steer dataset. However, EMMIX grouped the most extreme records from both ends of the distribution into a single cluster, while BAYESMIX separated them into two distinct clusters, one for each extreme.

Is BAYESMIX publicly available?

The paper states that the executable can be obtained on request at no charge by research institutions, limited to non-commercial purposes, and that although it was built using a Linux-based compiler, it is adaptable across computer platforms and styles of user interaction.

About this summary

Written by the Livestock Library team from the published paper by A. Reverter, K.A. Byrne and B.P. Dalrymple (2003), and released on 22 November 2026. It is our account of the research in our own words, not the paper itself. For anything you plan to act on, read the original.

Are you an author or publisher of this paper? If something here is wrong, or you would like it changed or removed, tell us and we will fix it.