MorganLevineLab / methylCIPHER

21 stars 9 forks source link

Error in calcDNAmTL resulting in wrong estimates for the DNAmTL clock #8

Open ausrinesv opened 11 months ago

ausrinesv commented 11 months ago

There seems to be an error in calcDNAmTL().

The code subtracts the intercept from the product of beta values and coefficients: https://github.com/MorganLevineLab/methylCIPHER/blob/e62937ef7ba6ed1ff3472a178999328381d43d51/R/calcDNAmTL.R#L43

However, in the related Supplementary Data 1 of the Lu, A. T. et al. (2019) DNA methylation-based estimator of telomere length that intercept is positive.