Closed Y-CBob closed 2 years ago
Hi @Y-CBob,
I am guessing that this is because lineages
is a PseudotimeOrdering object and the plotting functions expect a SlingshotDataSet object. Can you try replacing the last line with lines(SlingshotDataSet(lineages), lwd = 3, col = "black")
?
Let me know if that doesn't work! Best, Kelly
OMG It worked! Thank you sooo much Kelly!!!
Best, Bob
I extracted the relevant info from my Seurat object:
and performed the trajectory mapping:
Error came out when running the last line of code:
On my plot viewer, I am able to see the 2 umap colored according to clusters, one on the left with cluster numbers while the one on the right does not have any label on it.