Git Product home page Git Product logo

Comments (2)

kstreet13 avatar kstreet13 commented on July 29, 2024

Hi @madhu-coder,

I'm not sure how much I'll be able to help, since it seems like you are adapting code that was adapted from mine, but I might be able to point you in the right direction.

First of all, the slingshot package can handle soft clustering. The SOUPR authors may have been working from an older version (it looks like their repo hasn't been updated in a few years), but this is something that has been supported for a while.

Also, the matrices of points along the curve (ie. curve$s) should have the same dimensionality as your reduced dimensional space. So if you are using the top 3 PCs, then curve$s should only have 3 dimensions, not 257. Again, I'm not really sure what's going on here, because all of this code is from a separate package, but that seems like a pretty big issue.

I would encourage you to re-try your analysis with the functions provided by slingshot, using your membership matrix for the clusterLabels argument. I think it may simplify your workflow and it will definitely make it easier for me to diagnose any problems.

Best,
Kelly

from slingshot.

madhu-coder avatar madhu-coder commented on July 29, 2024

Hey @kstreet13!
Thank you so much for your guidance!
I have decided to leave that script altogether since even the paper's authors seem to have forgotten about it and are of no help I'm afraid. Thankfully, I found the help here and have used slingshot with the membership matrix as you suggested and I am getting the results. but I need to tweak the number of Principal components used to refine the result. I will come back again in case I come across some error.

Thanks once again!

from slingshot.

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.