MorganLevineLab / methylCIPHER

21 stars 9 forks source link

MiAge clock produces warnings with EPIC arrays #6

Open karoliskoncevicius opened 11 months ago

karoliskoncevicius commented 11 months ago

Cannot share full dataset, but here is what I get:

dim(X)                                                                                                                                                                                                                              
## [1] 865859     23

res <- calcMiAge(t(X), data.frame(id = X$id), imputation = FALSE)
## warning: There were 50 or more warnings (use warnings() to see the first 50)

warnings()
## 1: In c + b^(nj - 1) * d - betaj :                                                                                                                                                                                                   
##   longer object length is not a multiple of shorter object length                                                                                                                                                                     
## 2: In c + b^(nj - 1) * d - betaj :                                                                                                                                                                                                   
##   longer object length is not a multiple of shorter object length
## ...                                                                                                                                                                 
## 50: In c + b^(nj - 1) * d - betaj :                                                                                                                                                                                                   
##   longer object length is not a multiple of shorter object length

Replicated the same with other EPIC dataset as well. None of the other clocks I've tried produced any warnings.