Gene expression measurements are a powerful tool in molecular biology, but when applied to heterogeneous samples containing more than one cellular type the results are difficult to interpret. We present here a new approach to this problem allowing to deduce the gene expression profile of the various cellular types contained in a set of samples directly from the measurements taken on the whole sample.