Reining chaos to save lives

A novel approach, combining maths and medicine to diagnose presymptomatic sepsis earlier, could potentially save millions of lives each year.

Dr. Manasi Nandi Ph.D. is a cardiovascular pharmacologist and a Senior Lecturer in Integrative Pharmacology at King’s College London. Manasi’s particular research interest is in sepsis and septic shock, and the cardiovascular dysregulation that occurs in those patients. She is working on a groundbreaking interdisciplinary project with mathematician Professor Philip Aston from Surrey University, that aims to detect the onset of disease earlier. In the setting of critical care and sepsis, this could be life saving.

Watch video
Dr Manasi NandiAttractor

It’s often described as the hidden killer.

This deadly combination of infection and inflammation strikes more than a million Americans every year, and kills someone every 2 minutes. It kills more people annually in the UK than bowel cancer, breast cancer, and prostate cancer combined. It’s a leading cause of mortality in children worldwide.

The killer is sepsis - a broad term for our body’s overwhelming reaction to an infection. The cascade of organ failure caused by severe sepsis and septic shock can be treated and stopped, but only if doctors recognize the symptoms in time - and that’s not easy to do.

Dr Manasi Nandi, a cardiovascular pharmacologist from Kings College London, is working on a project to predict whether a patient is crashing from sepsis much earlier, by analysing patterns in cardiovascular data collected from patients in hospitals.

Her team’s discoveries could help to save millions of lives each year.

Sepsis - A Global Issue

The World Health Organisation estimates that each year:

1.2 million

children suffer from sepsis

6 million

deaths are caused by sepsis

30 million

people worldwide are affected by sepsis

3 million

newborns suffer from sepsis

1 million

newborn deaths are associated with maternal infection such as maternal sepsis

Hundreds of millions

of patients are affected by health care-associated infections that occur during care delivery


Sepsis: the problem and the challenge.

Sepsis is a life-threatening condition caused by our body’s overwhelming immune response to an infection. Many health professionals view sepsis as a three-stage syndrome, starting with sepsis and progressing through severe sepsis to septic shock.

Normally, when bacteria or other microbes enter our body, our immune system efficiently destroys the invaders. However, in sepsis, the immune system responds in an extreme way - by going into overdrive and releasing a cascade of inflammatory molecules into the blood to combat the infection. The molecules then circulate throughout the vascular tree, causing widespread inflammation and wreaking damage throughout the entire body.

Manasi explains, “With sepsis, one of the things that particularly happens in the cardiovascular system is that the little blood vessels are damaged by the inflammatory molecules and they become quite leaky so you lose a lot fluid. And that means that the heart can’t pump as much blood every minute, so your cardiac output drops down. This means that your organs and tissues and cells don’t receive enough oxygen.”

Septic shock is this progression of sepsis to a life threatening stage. Manasi explains, “when sepsis progresses to septic shock, blood pressure drops dramatically, which can be fatal. Patients die of multiple organ failure because, systematically, each organ doesn’t receive oxygen and effectively shuts down.”

The goal is to treat sepsis during its early stage, before it develops into life threatening septic shock.

But sepsis is unpredictable, making it notoriously difficult to diagnose. Patients present with different signs and symptoms at different times. It can be a response to an infection anywhere in the body, from something as simple as an infected cut or insect bite, to an infection caused by pneumonia, influenza, or a urinary tract infection.

Depending on the infection, sepsis can affect any organ, resulting in a range of symptoms. If the brain is affected, this may cause confusion; if the lungs are affected, this may result in breathing difficulties.

When sepsis affects the cardiovascular system, the body’s response can cause rapid deterioration. According to Manasi, “30 to 50% of patients don’t survive septic shock, so diagnosing these patients earlier or being able to give clues to a doctor that a patient is about to deteriorate is absolutely critical.”

Sepsis stages

Infection begins anywhere in the body

Sepsis stages

Immune system floods bloodstream with inflammatory molecules, damaging blood vessels and causing them to leak

Sepsis stages

Blood pressure drops dramatically and organs don’t receive enough oxygen, leading to multiple organ failure

Hospital patient

Earlier detection of sepsis: The key to survival

It is estimated that as many as 80% of sepsis deaths could be prevented with rapid diagnosis and treatment.

Because the risk of death from sepsis increases by as much as 8% for every hour that treatment is delayed10, the early diagnosis of sepsis is vital for patient survival.

Earlier detection is ultimately what Manasi’s research project is hoping to achieve. “If we can detect sepsis earlier, then we can bring onboard well-characterized treatments much sooner. But doctors need a signal that tells them that this patient’s about to crash, rather than this patient has already crashed.”

The way that Manasi and her team are hoping to do this is by analyzing cardiovascular monitoring data that has been collected from hospital patients, in a new and novel way.

Manasi explains, “we are looking at a variety of cardiovascular signals - like blood pressure or ECG or pulse oximetry data - that has been collected from patients. We’re trying to see if there are patterns showing how those waves change in a patient that went on to recover versus a patient that went on to decline and become seriously ill.”

The key is that Manasi and her team don’t only want to use the basic data, but all of the noise and background information within the signal that is usually discarded and ignored.

That’s because hidden in the “noise” is pivotal information that could help to alert doctors that a patient is developing a sepsis - a stage that is currently undetectable.

Using Big Data

Modern hospital monitoring devices record a huge amount of high fidelity waveform data about a patient’s body. For instance, a monitoring device that collects blood pressure signals can record as many as 1,000 individual numbers for every single heartbeat.

Manasi explains, “our research project is very much about using the entirety of the data, the “big data” if you like, to gain a much more detailed picture of cardiovascular health and to get more clues about what’s happening to a patient, much much earlier than we can at the moment.”

“The devices that we currently use have a sampling frequency 1,000 Hz, meaning that they capture 1,000 data points per second, which equates to over 86 million data points in one day.”

When all of this data is collected over hours or days it becomes too much to process using conventional methods. Instead, the relevant information is processed and output as averages, minimums and maximums - which we understand as simplified signals like heart rate, respiration rate, and blood oxygen level.

However, most of the raw data is is lost by simplifying it in this way.

Manasi explains, “we’ve known for over 200 years that the shape of the waveform contains some useful information and potentially diagnostic information. So you’ve got a waveform for, say, blood pressure, and in the background you’ve got all of these numbers that make up that wave. But we don’t really use it all, although we know that it contains important diagnostic information.”

To glean more information from the raw data in the entire waveform, Manasi partnered with mathematician Professor Philip Aston from the University of Surrey. Their aim was to use mathematics to look at the cardiovascular waveform data differently and find new, creative ways of processing the data as a way to extract information that can’t be easily measured.

“What this project allows us to do is use every single piece of numerical data that has been captured by the monitoring devices, and plot it in a particular way using some clever mathematics. We can handle the big data in a way that is manageable and it gives us information from the signal that we previously couldn’t extract.”

Unlocking the diagnostic potential hidden in the entirety of the waveform is what Manasi believes will give health professionals a more sensitive readout of cardiovascular deterioration in patients - and give them the signals to treat patients with life-threatening organ failure, earlier.

So how does it work? The answer lies in a mathematical attractor called the Cardiomorph.

Manasi Nandi

Creating the Cardiomorph

Manasi’s research partner, University of Surrey mathematician Philip Aston, takes the cardiovascular monitoring data provided by Manasi, and applies a mathematical method called Takens’ embedding theorem.

Manasi explains, “the principle of the mathematics is based on ideas from dynamical systems and chaos theory in that it doesn’t assume anything about the data. They basically take a signal that’s very noisy and chaotic and try to create some sort of structure out of that. It allows you to quantify a very noisy signal and extract different information from it.”

The method takes the high fidelity cardiovascular data and re-plots it into a 3 dimensional cube, using a particular technique called phase space plotting. When the cube is rotated in a certain way, the attractor looks like a triangle. This is the Cardiomorph attractor.

The cardiomorph attractor is a new way of visualizing the waveforms. Manasi explains, “there is a one-to-one relationship between the waveform shape and the attractor shape. As the waveform’s shape changes - so as someone’s blood pressure rises or falls, even very subtly - the steepness or curvature of one side of the cardromorph triangle changes. And, using the cardiomorph, we can quantify that and extract information about that change.”

“What we have shown so far is that those subtle changes in the shape of the wave give you clues about early stage failure within the body, within the cardiovascular system, before obvious changes occur, like your maximum and minimum blood pressure changing.”

“Plotting the data like this lets us see common patterns. It means that we can start to build algorithms that could then be potentially, in a few years time, installed into software that gives doctors an alarm signal to tell them that a patient is deteriorating, you need to get them some treatment.”


Using data to predict the unpredictable

So the big question is: can the attractor method be used to diagnose or detect sepsis earlier in patients?

Currently, the team use archived data to build their attractor. They compare existing data from non-sepsis patients who came into hospital against data from those who developed sepsis. Manasi explains, “we are still very much in the research side of things. We’re feeding known data into the system. We use our attractor data combined with the clinical notes - so the annotations that the doctor put on the original record - to see if our method could have predicted that a patient was going to crash earlier than the clinical notes suggests.”


By re-examining existing data they can see if there are any emerging patterns. “Then we can start to build algorithms that could be installed into software and used in a clinical environment. The software apply a patient’s waveform data to the cardiomorph and set off an early-stage alarm if they begin to deteriorate.”

The preclinical tests have shown promising results, suggesting clear differences in the attractor between a healthy subject and one in the early stages of sepsis.

Manasi explains, “what’s interesting is if you just look at the conventional waveform you wouldn’t necessarily get that idea. The attractor seems to be very sensitive at detecting something that happens in those really early stages of sepsis, once that microbial infection is taking hold. Something happens in the cardiovascular system and it seems that we’re able to sensitively detect that with our method. In the conventional signal it only becomes obvious about four or five hours later.”

The reason for this is that the human body has evolved to divert blood pressure from certain body systems, such as the gut and skin, in order to maintain blood pressure to vital organs such as the heart and brain when the body goes into ‘shock’. This can mean that a conventional signal like measured blood pressure can appear normal even though systems have started to close down in the body and the patient is actually getting ill.

Manasi’s research has shown that the attractor method is more sensitive at detecting cardiovascular changes in the earliest stages of sepsis compared to conventional cardiovascular measures such as systolic/diastolic blood pressure or heart rate.

It’s this early warning system that has the potential to save lives in settings ranging from an ICU to the Accident and Emergency Department. And, the software could be ready for use in hospitals in the very near future.

Manasi says, “I’m really excited to be working on this project because it has immediate potential in the clinic. With a lot of the research that I’ve done to date you’re 10, 15, 20 years away from it ever being tested in patients. Whereas something like this we’re starting to test within 5 years - that’s really exciting.”

“In terms of how that would impact on healthcare as a whole? If we can diagnose these patients earlier they’ve got a much greater chance of surviving and leaving hospital. And the earlier you do it, the less likely they are to have ongoing complications. So there’s the benefit to the patient and their families. But there is also a huge benefit to the healthcare system because it means that those patients are not going to be hospitalized for as long. So there are both economic and societal benefits of this method.”

The cardiomorph attractor has the potential to be extended to predicting a range of health conditions and could even be used to help understand how effective drugs are, or whether they carry a risk.

Manasi says, “the cardiomorph attractor has very wide application that is above and beyond sepsis. But we’re applying it to sepsis in the first instance because there’s a really big clinical problem, and it’s one where patients are already routinely monitored.”

“We are in the earliest stages but the project is getting into quite an interesting space at the moment. I’m collaborating with with lots of different doctors and research scientists and they’re sending me their data and we are starting to see if this method can be applied to other areas.”

Using LabChart to extract high fidelity waveforms

Manasi uses ADInstruments’ LabChart software to extract the high fidelity cardiovascular waveforms that are used to build the attractor. The waveforms can come from blood pressure, ECG, or pulse oximetry data. She says,” I use LabChart for a variety of applications in my work. The software allows you to take averages of routine signals like systolic and diastolic pressure easily. But at the same time, in the background, it’s collecting really high fidelity data and sampling it at a thousand data points per second or a thousand Hertz. It means that I can go ahead and extract that big data out of LabChart and feed it into our new bit of coding, which then transforms it into our attractor. So LabChart allows me to do both a conventional analysis but also gives me the raw data to feed into the new system to do the new analysis.”

“When we look at our human volunteers, we often rig them up with lots of different devices on them. So we’ll be measuring a fingertip blood pressure reading, we’ll also be getting ECG monitoring from them at the same time. And it means we’ve got a continuous stream of data from that individual that tells us a lot about their cardiovascular system.”

“A big advantage of using LabChart is that we can share data easily. One of the problems we have is when people give us data that’s been captured in different formats and we can’t read it easily. But when people have sent me LabChart files it means I can look at the waveform and I can see how that changes over time really easily. So I can do a quick “biologists glance” of the data, so I can see roughly what went on and what happened at what time points. And then when that raw data is extracted, I’ve got an even better idea of what I’m looking at. Whereas when people just send send us lists of numbers and I can’t see the waveform obviously I’m going in blind. So it’s definitely an advantage to have everything in the LabChart format because you get used to the software as well. But it means that I can also manipulate the data and look at it.”

Blood pressure

The importance of collaboration: where maths meets medicine

For Manasi, collaboration and interdisciplinary research is hugely important. “Philip and I have grown our team and have brought in mathematicians and biologists. But I also get to work with bioengineers, with statisticians, with doctors, with nurses. You get to find out everyone’s take on a problem and you also get to see different ways in which they think about things and you earn from each other. I really enjoy that aspect of the job. And by working together we’re able to answer some really interesting and important biological problems.”

“I think what is great is that we can apply our different ways of thinking to solve complex problems together - and it’s been really liberating because there are no set rules about how to do it. With the mathematicians it was fascinating to see them at play with the data until things started to make sense or until we could say “hey, that’s really novel, that’s not been done before, that could be really important”.

“It’s a really nice, interdisciplinary project and I’ve gotten to learn this other “language”. Most of my time is spent communicating maths to biologists, or communicating the biology to mathematicians. It’s been a really nice learning curve for me to realize that mathematics is a very pure science - it’s just taking what it is given. With biology we tend to say “that bit means something but that bit doesn’t”. And actually, by taking a mathematicians approach, and just looking at everything we’ve been we’ve been able to discover this new information.”

“I think what’s really great about doing this type of research is that you can have an impact - in this case, on human health. I’m really excited that this project is now a stage where we’re starting to work with humans, with clinical data. It takes a lot of work to get to this point. And to know that this project has strong potential to be implemented in clinical practice, and that has the potential to save lives... to me that is incredibly exciting.”

While Manasi finds the current project exciting, she originally never envisaged working so closely with mathematics.

She says, “it’s strange when you’re an undergraduate and you don’t really know where you’re going to end up in 10 or 15 or 20 years time. If you told me I was going to be working on a maths and physiology project I wouldn’t have believed you ten years ago! I was very much focused on cell based and tissue based research and working in the laboratory rather than being a data scientist. But I definitely knew I wanted to work to do something associated with healthcare and healthcare research.”

Manasi is a pharmacologist, focussing on the cardiovascular system. She says, “a lot of my interest and research to date has been around trying to identify new drug targets to treat certain cardiovascular diseases once they’ve been established.”

Manasi completed her PhD at the Institute of Child Health and post doctoral training at University College London in the laboratory of Professor Patrick Vallance. During this time, she developed a number of in vivo systems to characterise a novel mouse mutant and small molecule, and identified a nitric oxide modifying pathway as a novel target for the treatment of septic shock. This project led to the award of a Wellcome Trust Seeding Drug Discovery Grant to UCL, on which she was the biology project manager. She was awarded a British Heart Foundation Intermediate Fellowship immediately prior to commencing her lectureship at King’s College London in 2009.

On a daily basis, her work is varied. “I still do some wet lab stuff. For example this week I did some surgery, implanting small blood pressure monitoring devices in animal models to try and extract experimental data. A lot of my time is spent in front of a computer looking at data sets which collaborators have sent us, and there’s a lot of meeting with the mathematicians.”

“Research is a really stimulating job. I’m constantly learning. I meet incredibly interesting people and form collaborations with them. You’re constantly inspired and you’re constantly learning and I’d say to anyone who’s getting into this area is make sure you do something that that you’re interested in.”

“One thing leads to another in research and that’s what I really like - that you can be working on quite a niche, focused project for quite a long period of time and you can’t necessarily see the bigger picture or where it could be going . And then, all of a sudden, something else just comes along and it takes you off in a tangent!

“Before you know it, your project will end up branching off in different directions and if you follow some of those, they can lead you to really interesting places. So, I’d say to anyone starting out in research to take risks and go outside your comfort zone but also make sure you’re interested in and inspired by what you’re doing. It makes it really, really interesting - no two days are the same and that’s probably what I like the most about being a researcher.”