add extra parameter for min correlation of peak shapes clustering