Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Function slingshot no possibility to create graph #257

Open
Capiques opened this issue Sep 25, 2024 · 1 comment
Open

Function slingshot no possibility to create graph #257

Capiques opened this issue Sep 25, 2024 · 1 comment

Comments

@Capiques
Copy link

Hello,

I have an issue when I want to use slingshot, my data is composed of 4261 cells et 31254 genes. Matrix of 31254x4261; I have two conditions, I want after using slingshot use condiments.

but I have an error when I run my command :

sce_pdt <- slingshot( sce_pdt, reducedDim = "UMAP", clusterLabels = sce_pdt$short_name)
Error in graph.adjacency.dense(adjmatrix, mode = mode, weighted = weighted, :
At vendor/cigraph/src/constructors/adjacency.c:538 : Adjacency matrix should be symmetric to produce an undirected graph. Invalid value

When I run without giving another cluster label it's working, so I don't know. Does slingshot need a minimum of cell per cluster?

Thanks!!!

Best

@kstreet13
Copy link
Owner

I think you're probably correct that it is an issue with small clusters. Other users have had similar issues and they seemed to be resolved by removing/merging any clusters consisting of a single cell. Let me know if that doesn't work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants