ArticleslgStudy

mathematics

DeMix

DeMix is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand DeMix rather than just read about it. In short: DeMix is a statistical method for deconvolving mixed cancer transcriptomes to predict the likely proportion of tumor and stromal cell samples using a linear mixture model. It was developed by Ahn et al.

Key takeaways

  • DeMix belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect DeMix to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of DeMix from memory before moving on to harder problems.

Reference excerpt

DeMix is a statistical method for deconvolving mixed cancer transcriptomes to predict the likely proportion of tumor and stromal cell samples using a linear mixture model. It was developed by Ahn et al. Demix explicitly considers four possible scenarios: matched tumor and normal samples, with reference genes; matched tumor and normal samples, without reference genes; unmatched tumor and normal samples, with reference genes; and unmatched tumor and normal samples, without reference genes. Reference genes are a set of genes for which expression profiles have been accurately estimated based on external data in all constituting tissue types.

Introduction Solid tumor samples obtained from clinical practice are highly heterogeneous. They consist of multiple clonal populations of cancer cells as well as adjacent normal tissue, stromal, and infiltrating immune cells. The highly heterogeneous structure of tumor tissues could complicate or bias various genomic data analysis. Removing heterogeneity is of substantial interest to isolate expression data from mixed samples in silico. It is important to estimate and account for the tumor purity, or the percentage of cancer cells in the tumor sample before analyses. Owing to the marked differences between cancer and normal cells, it is possible to estimate tumor purity from high-throughput genomic or epigenomic data. DeMix estimates the proportion and gene expression profile from cancer cells in mixed samples. In this method, the mixed sample is assumed to be composed only by two cell types: cancer cells (without any known priori gene expression profile) and normal cells (with known gene expression data, which can either come from tumor-matched or unmatched samples). DeMix was developed for microarray data and shows that it was important to use the raw data as input assuming it follows a log-normal distribution as is the case for microarray, instead of working with log-transformed data as most other methods did. DeMix estimates the variance of the gene expression in the normal samples and uses this in the maximum likelihood estimation to predict the cancer cell gene expression and proportions, using thus implicitly a gene-specific weight for each gene. DeMix is the first method to follow a linear mixture of gene expression levels on data before they are log-transformed. This method analyzes data from heterogeneous tumor samples before the data are log-transformed, estimates individual level expression levels in each sample and each gene in an unmatched design.

Method Let Nig∼LN(μNg,σNg2) and Tig∼LN(μTg,σTg2) be the expression level for a gene g and sample i from pure normal and tumor tissues, respectively. LN represents the log2 Normal distribution. When the log2 Normal assumption is violated, a deterioration of accuracy should be expected. The expression level from tumor tissue Tig is not observed. Let Yig denote the expression level of a clinically derived tumor sample which is observed. Let πi, unknown, denote the proportion of tumor tissue in sample i. The raw measured data is written as a linear equation as

Yig=πiTig+(1−πi)Nig Note that Yig does not follow a log2 Normal distribution when both Nig and Tig follow a log2 Normal distribution. There are mainly two steps in the DeMix method: Step 1: Given the Y's and the distribution of the N's, the likelihood of observing Y is maximized in order to search for {π,μT,σT2}. Step 2: Given the π's and the distribution of the T's and the N′s, an individual pair of (T,N) is estimated for each sample and each gene. These steps are then adapted to specific data scenarios. DeMix was developed using the Nelder–Mead optimization procedure which includes a numerical integration of the joint density. DeMix takes a two-stage approach by first estimating the πis and then estimating the means and variances of gene expressions based on the π̂is. A joint model that estimates all parameters simultaneously will be able to further incorporate the uncertainty measure of the tissue proportions. However, the estimation step from such a model can be computationally intensive and may not be suitable for the analysis of high-throughput data.

Usage DeMix addresses four data scenarios: with or without a reference gene and matched or unmatched design. Although the algorithm requires a minimum of one gene as a reference gene, it is recommended to use at least 5 to 10 genes to alleviate the potential influence from outliers and to identify an optimal set of πs. DeMix assumes the mixed sample is composed of at most two cellular compartments: normal and tumor, and that the distributional parameters of normal cells can be estimated from other available data. For other situations, more complex modeling may be needed.

References

Worked examples

Example 1 — a first encounter with DeMix

Start with the simplest possible case. Write down what DeMix claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to DeMix before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about DeMix ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of DeMix

In research
DeMix appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses DeMix in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
DeMix is common in secondary-school and first-year university syllabi. It links to neighbouring topics Biostatistical methods, so understanding it makes those chapters shorter.
In everyday life
Look for DeMix outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “DeMix” →

How to study DeMix in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what DeMix means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain DeMix out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is DeMix in simple terms?

DeMix is a statistical method for deconvolving mixed cancer transcriptomes to predict the likely proportion of tumor and stromal cell samples using a linear mixture model. It was developed by Ahn et al.

Why does DeMix matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study DeMix?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on DeMix.

Tags

  • Biostatistical methods

Keep exploring