Code Monkey home page Code Monkey logo

Comments (5)

Marius1311 avatar Marius1311 commented on September 25, 2024

Hi @MarieCoutelier, it might just be a problem with GATA1, try excluding that gene and see whether it runs. If not, try using cr.models.GAM (rather than GAMR), which is based on pygam. This is easier to install and run because it does not require rpy2.

@michalk8 is the expert here but is currently not available, let's see what he says when he gets back.

from cellrank.

michalk8 avatar michalk8 commented on September 25, 2024

I think the problem is because mgcv is not installed in that environment; here is code used for loading it using rpy2 and here it's being called. Would check whether model._lib is None or not (will change to raise an error by default in the future if mgcv is not present).

from cellrank.

Marius1311 avatar Marius1311 commented on September 25, 2024

I suppose @michalk8's comment from above solved the issue; closing.

from cellrank.

hernandezvargash avatar hernandezvargash commented on September 25, 2024

Hi, I get the same error when following the tutorial in the "Visualize expression trends" section.
I tried excluding GATA1, and using GAM instead of GAMR, but no success.
I have rpy2 installed in my environment and mgcv installed in R.
Any other suggestions?
Thanks

from cellrank.

daniel-spies avatar daniel-spies commented on September 25, 2024

for me using GAM instead of GAMR worked in this case.
also mgcv was missing but no error message etc. would have indicated it, installing mcvg resolved the issue.

from cellrank.

Related Issues (20)

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.