Since cluster_region() interpolates data to obtain methylation measurements at fixed points for all features, those with bad coverage will cause an error
Error in approxfun(summaried_methy$pos, summaried_methy$methy_prob, rule = 2) :
need at least two non-NA values to interpolate
Since
cluster_region()
interpolates data to obtain methylation measurements at fixed points for all features, those with bad coverage will cause an error