Text this: Application of the signature method to pattern recognition in the CEQUEL clinical trial