Adaptive spectral clustering for conformation analysis