Comments (2)
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.
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)
- getCurves() Missing values HOT 8
- Curves and lineages HOT 3
- Error in igraph::shortest_paths(tree, from = l, to = ends, mode = "out", : At core/paths/dijkstra.c:360 : Weight vector must not contain NaN values, Invalid value HOT 3
- Average curve weights and Pseudotime HOT 1
- slingshot analysis on PCA but visualization on UMAP HOT 3
- how to analyze with 3 different treatments HOT 4
- how to calclate the POS to compare other algorithm? HOT 2
- Pulling and plotting Differential pseudotime data across different conditions/metadata slots HOT 1
- `embedCurves` should also map MST into new space HOT 1
- Slingshot followed by CellRank HOT 1
- is slingshot using only the variable genes? HOT 2
- Pick one lineage from many for conditiontest HOT 3
- How do I extract feature_info in my rds file? HOT 4
- What does a curve represent biologically? HOT 7
- Overlapping curve issue - change to code needed? HOT 3
- Removing a lineage from a `PseudotimeOrdering` object? HOT 3
- Error in graph.adjacency.dense: Adjacency matrix should be symmetric to produce an undirected graph. Invalid value HOT 5
- pseudotime in two lineage? HOT 2
- Slingshot error HOT 1
- Error while plotting the Minimum Distances Between Cell-Type Centroids using Slingshot in r HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from slingshot.