Multi-sample analysis