Git Product home page Git Product logo

Comments (5)

dhimmel avatar dhimmel commented on September 23, 2024

Can you add points to Figure 1?

No because it would be a disaster. There are 17,685 genes for each metaedge. Additionally, for a specific metaedge, the degree of each gene varies substantially.

Perhaps you would like to see prediction rather than confidence intervals? However, these would be quite wide than therefore visually problematic.

from snplentiful.

dhimmel avatar dhimmel commented on September 23, 2024

Also can you add which method you used for the regression.

Here is the line of code that draws the regression:

ggplot2::geom_smooth(method='gam', formula=formula("y ~ s(x, bs='cs')"), linetype=0, n=1000, sp=50)

Figuring this out was painful because of poor documentation. I am not sure what it does. Maybe you can help explain. Here are links to the mgcv::gam and ggplot2::stat_smooth documentation. The linetype argument in the above command suppresses line drawing and is not related to model fitting.

from snplentiful.

a-pankov avatar a-pankov commented on September 23, 2024

Quick GAM/smoothing spline explanation: ISLR - Chapter 7

from snplentiful.

dhimmel avatar dhimmel commented on September 23, 2024

@a-pankov, you can add page numbers to pdf urls by appending #page=X. For example, here is a link to the GAM section: http://www-bcf.usc.edu/~gareth/ISL/ISLR%20First%20Printing.pdf#page=297

from snplentiful.

dhimmel avatar dhimmel commented on September 23, 2024

@a-pankov, so we used a 'smooth cubic spline'? Can you confirm or deny? Is it natural?

from snplentiful.

Related Issues (3)

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.