Git Product home page Git Product logo

Comments (4)

yiluyucheng avatar yiluyucheng commented on August 26, 2024

Thanks for your feedback!

  1. The issue seems to have arisen during plotting, there may be some problems with some of your input samples, please try the following code to identify which samples have weird mAge predictions: PCGrim=methyAge(beta_raw, clock="PCGrimAge",age_info = info,fit_method='Linear', do_plot=FALSE)
  2. There is no recommended normalization step, my advice is to use the same normalization method if you want to compare mAge prediction between clocks.

from dnamethyage.

vylyny avatar vylyny commented on August 26, 2024

Hi,
Thanks so much for your help! I tried do_plot=FALSE and got a different kind of error:
Error in $<-.data.frame(*tmp*, "Age_Acceleration", value = c(1 = -2.06246174972107, :
replacement has 1027 rows, data has 1039

I double checked and both the "beta_raw" and "info" data frames have 1,039 observations. The same code worked for other clock (eg Hannum), either with do_plot=TRUE or FALSE...

from dnamethyage.

yiluyucheng avatar yiluyucheng commented on August 26, 2024

If you do not mind, please send me a subset of your input data so I can do better troubleshooting.

[email protected]

from dnamethyage.

vylyny avatar vylyny commented on August 26, 2024

Turned out there were some NA values in the CpG sites. It is working now after dropping NA. Thank you!

from dnamethyage.

Related Issues (13)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.