Analyzing the chemical composition of cerebrospinal fluid