Git Product home page Git Product logo

Comments (3)

kstreet13 avatar kstreet13 commented on July 21, 2024

Hi @lixin4306ren

This is likely because Slingshot is detecting more than one lineage (the "_1" in the variable name indicates that there are more lineages). Cells that were identified as being specific to Lineage 2 will have NA values for slingPseudotime_1, but they will have real values for slingPseudotime_2. These assignments are based on weights (accessible via slingCurveWeights), where a weight of zero will cause the corresponding pseudotime value to be NA.

from slingshot.

lixin4306ren avatar lixin4306ren commented on July 21, 2024

That was the case, thank you. Another related question, I tried to plot Pseudotime of all cells from all lineages, but the shared cell of multiple lineages showed different Pseudotime values. Eg, slingPseudotime_1 and slingPseudotime_2 of shared cells are slightly different (some showed big difference), which will result in different color codes. Which slingPseudotime value should I use (average them or just pick random one)? And how should I fix this problem? Thanks in advance.

from slingshot.

kstreet13 avatar kstreet13 commented on July 21, 2024

I think this depends on your downstream analysis plan. For plotting, you can either pick one value or plot both values with some transparency based on the weight of assignment.

If your downstream methods require a strict assignment (or only a single pseudotime value), then you could either select the value with the larger weight or use the weights as multinomial sampling probabilities and assign them using a random draw.

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.