Open ausrinesv opened 11 months ago
There seems to be an error in calcDNAmTL().
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.
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.