public LoessGCNormalizer(IEnumerable<GenomicBin> bins, NexteraManifest manifest, int robustnessIter = 2,
Func<float, double> countTransformer = null, Func<double, float> invCountTransformer = null)
{
this.bins = bins;
this.manifest = manifest;
if (robustnessIter >= 0) { this.robustnessIter = robustnessIter; }
if (countTransformer != null && invCountTransformer != null)
{
this.countTransformer = countTransformer;
this.invCountTransformer = invCountTransformer;
}
initialize();
}