As it stands, the frac windows are run each time CorrectM() is run- when CorrectM() is run one sample at a time it is done once for each sample, it would be beneficial for the fracing first part of the CorrectM() function to be run once prior and then passed along to be used for each sample's correctedM calculations.
As it stands, the frac windows are run each time CorrectM() is run- when CorrectM() is run one sample at a time it is done once for each sample, it would be beneficial for the fracing first part of the CorrectM() function to be run once prior and then passed along to be used for each sample's correctedM calculations.