Scientists have compared data from the last ice age, around 21,000 years ago, and modern records to see what happened to plankton when the world has previously warmed.