Text this: Principal components analysis for mixtures with varying concentrations