dayoonkwon / BioAge

Biological Age Calculations Using Several Biomarker Algorithms
GNU General Public License v3.0
72 stars 24 forks source link

kdm_calc update? #23

Closed qu515 closed 1 year ago

qu515 commented 1 year ago

Hi Dayoon, I noticed that there was an update to the kdm_calc function 3 weeks ago. My kdm results became markedly different after the update with a lot more negative values, even though my code did not change. Upon checking the R file for kdm_calc, the main change in the update seems to concern the following line:

Screen Shot 2023-10-05 at 11 55 12 AM

Could you elaborate on what this update is? Thank you for all your work!

dayoonkwon commented 1 year ago

Sorry for the confusion. I put it back to original form s_r = ((1-(rchar^2))/(rchar^2))*(((age_range[2]-age_range[1])^2)/(12*nrow(agev))) 3 weeks ago. Can you update your package again?