Fig. 7
From: SweepCluster: A SNP clustering tool for detecting gene-specific sweeps in prokaryotes

Parameter optimization of sweep lengths based on non-linear fitting and maximum curvature in three prokaryotic datasets. A, B S. pyogenes. C, D S. suis. E, F V. cyclitrophicus. The relationship between the number of sweep regions and sweep lengths was fit using generalized additive models (red lines) and the curvature for each fitting curve was calculated using the formula (4)