Sparse multivariate models for pattern detection in high-dimensional biological data