As biological datasets grow too vast and complex for human intuition to navigate, a team at the University of Basel has answered an old epistemological challenge: how do we see what we cannot imagine? Their software, Bonsai, organizes millions of cellular measurements into branching trees that preserve the true distances of high-dimensional space, offering scientists not a compressed illusion but a faithful map. In doing so, it has already revealed a hidden lineage of immune cells — a reminder that discovery often waits not on new data, but on the courage to trust a clearer picture.
Bonsai Software Transforms High-Dimensional Biological Data Into Trustworthy Tree Visualizations
When you can trust the picture, you have a much better chance of making new discoveries.
Why does squeezing ten thousand dimensions into two dimensions matter so much? Isn't the pattern still there somewhere?
The pattern might be there, but you can't trust it. Imagine taking a photograph of a city from above and then stretching it flat. Buildings that were blocks apart might look adjacent. Streets that curved might appear straight. The information is still in the image, but the relationships are broken.
So Bonsai keeps those relationships intact by using a tree instead of a flat map. How does that actually work?
It arranges the data as branches. The distance between two cells along the branches reflects how different they actually are in the original high-dimensional space. If two cells are very similar, their branches are close together. If they're very different, their branches are far apart. The picture becomes trustworthy.
And that's how they found the new immune cell type?
Exactly. When they looked at blood cells through this tree structure, they saw a group of natural killer cells that didn't fit the expected pattern. The tree showed they came from a completely different lineage than anyone thought. You can't see that if you're looking at a flattened map where the relationships are already distorted.
Does this work for other kinds of data, or just cells?
Any high-dimensional data. Gene expression, brain activity, microbial communities, medical records. Anywhere you have thousands of measurements and need to understand the relationships between them. That's why they released it for free—they think it could change how discovery happens across biology.
Le Pouls
- Modern biology is drowning in its own success — researchers can measure millions of cells across tens of thousands of dimensions, yet have no reliable way to see what the data actually means.
- Traditional 2D visualization tools distort the very relationships scientists are trying to understand, turning potential discoveries into artifacts of the compression process itself.
- Bonsai sidesteps the flattening problem entirely by arranging cells as branches on a tree, where proximity on the image faithfully reflects proximity in the original high-dimensional space.
- When tested on human blood data, the tool not only confirmed known cell relationships but surfaced a previously unknown natural killer cell subtype with an unexpected myeloid origin — a discovery made possible only because the picture could be trusted.
- Released freely to the scientific community, Bonsai now stands to accelerate breakthroughs across genomics, neuroscience, microbiology, and medicine wherever complex data has outpaced human perception.
As biological datasets grow too vast and complex for human intuition to navigate, a team at the University of Basel has answered an old epistemological challenge: how do we see what we cannot imagine? Their software, Bonsai, organizes millions of cellular measurements into branching trees that preserve the true distances of high-dimensional space, offering scientists not a compressed illusion but a faithful map. In doing so, it has already revealed a hidden lineage of immune cells — a reminder that discovery often waits not on new data, but on the courage to trust a clearer picture.
Modern biology has a paradox at its core: the more precisely researchers can measure the living world, the harder it becomes to understand what they are seeing. Sequencing millions of individual cells, tracking tens of thousands of genes in each one, mapping neural activity across entire brain regions — the data is real and valuable, but it exists in thousands of dimensions at once. Human minds are built for two or three. For years, the standard solution has been to compress high-dimensional data into flat, two-dimensional visualizations. The problem is that compression distorts. Patterns that appear on the flattened map may be illusions born of the squeezing process, and true relationships may vanish entirely.
Researchers at the University of Basel developed Bonsai to take a different approach. Rather than flattening the data, the software organizes it into a branching tree, placing individual cells at the tips and arranging branches so that the distances between them mirror the actual distances in high-dimensional space. Cells that are genuinely similar sit close together; cells that differ sit far apart. The picture is not a distortion — it is a faithful representation of relationships that actually exist.
When tested on human blood cell datasets, Bonsai reliably recovered known relationships between cell types. But it also found something no one was looking for: a previously uncharacterized subtype of natural killer immune cells, whose molecular signature revealed they descended from the myeloid lineage rather than the lymphoid lineage researchers had always assumed. The discovery emerged not from a hypothesis, but from being able to trust what the visualization showed.
The implications reach well beyond immunology. When scientists cannot trust their pictures, they miss what is hidden in plain sight. Bonsai works on any high-dimensional dataset — gene expression, chromatin states, neural activity, microbial communities, medical records — and the team has made it freely available. The next unexpected discovery may belong to any lab willing to look at its data differently.
Modern biology has a problem that grows worse with every technological advance. Researchers can now sequence the genes of millions of individual cells, measure the activity of tens of thousands of genes in each one, map neural firing patterns across entire brain regions, and catalog microbial communities with unprecedented precision. The data exists. It is real. It is valuable. But it is also nearly impossible to understand.
A human brain works well in two or three dimensions. Show someone a scatter plot, a map, a simple graph, and patterns emerge naturally. But the datasets that modern biology produces exist in thousands of dimensions simultaneously—ten thousand, sometimes more. There is no way to draw a picture of that. There is no intuition for what shapes could even exist in such a space. For the past decade, researchers have tried to solve this by forcing their high-dimensional data into two-dimensional visualizations, compressing everything down to something the eye can parse. The problem is obvious: compression distorts. A relationship that looks true on the flattened map might be an artifact of the squeezing process. A pattern that appears to exist might be an illusion created by the reduction itself.
A team at the University of Basel in Switzerland has built a different kind of tool. Instead of flattening the data, they preserve its structure by organizing it into a branching tree. The software, called Bonsai, places individual cells at the tips of branches and arranges those branches so that the distances between them—measured through the high-dimensional space where the cells actually live—remain accurate. The closer two cells are in the original data, the closer they sit on the tree. The farther apart they are, the more distant their branches. This means the picture you see is not a distortion. It is a faithful representation.
When the researchers tested Bonsai on real datasets of human blood cells, the software did what it was supposed to do: it recovered the known relationships between different blood cell types automatically and reliably. But it also found something unexpected. Buried in the data was a previously unknown subtype of natural killer cells—immune cells that researchers thought all descended from a single lineage. The molecular signature of these newly discovered cells revealed they actually came from a different lineage entirely, one called the myeloid lineage rather than the lymphoid lineage everyone assumed. The discovery was not made by hypothesis or intuition. It emerged from being able to trust the picture.
This matters because it demonstrates why the visualization problem is not merely technical. When researchers cannot trust what they are seeing, they miss discoveries. When the picture is faithful, when the distances mean something real, when the branching structure reflects actual relationships in the data, the chance of finding something new increases dramatically. The tool works on any high-dimensional dataset—gene expression data, chromatin state data, medical records, microbial composition, neural activity patterns. The researchers have made Bonsai freely available to the scientific community, which means the next discovery could come from any lab with access to complex data and the willingness to look at it differently.
Citations marquantes
People are good at recognizing patterns in two or three dimensions. But we simply can't make a picture of a dataset that exists in 10,000 dimensions.— Erik van Nimwegen, senior author
The distances along the branches accurately reflect how closely cells are related in the high-dimensional space.— Daan de Groot, first author