-
Notifications
You must be signed in to change notification settings - Fork 103
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
Issue with clustering - Leiden #150
Comments
Hi, I believe you are missing the step where you create a sNN network. That step is necessary to perform the Leiden clustering and is typically performed right before any graph-based clustering algorithms like Leiden. Something like this should resolve the issue. I'll see if I can add a more informative error message.
Let me know if it works! |
Hi there, It seems to have worked! Thanks a lot for your help. I'm going to take this opportunity to ask if there is a more straightforward way to define the parameters when aupdating the Giotto image: I can't seem to find the right values to completely overlay the two images. Thanks a lot, Juan |
Hi Juan, Is this from a Visium dataset or how was the data generated? |
Hi @jiajic - that is really useful, I will give this a go and see if I can get a better alignment. I'm sorry for keep posting here but we had a follow-up question. For the spot enrichment tool, is there any way to run the spot deconvolution with the SCTransformed seurat scRNAseq object? I'm trying to follow the RANK Enrichment tool but can't seem to understand how or where to get this file "raw_exp_small.txt" or what the equivalent would be on my own data? Thanks a lot for helping! |
I am having trouble adjusting my Giotto matix. I have inputted the following code:
d45 <- calculateHVG(gobject = d45, save_param = list(save_name = '3_a_HVGplot'))
d45 <- runPCA(gobject = d45, center = TRUE, scale_unit = TRUE)
d45 <- runUMAP(d45, dimensions_to_use = 1:30)
d45 <- doLeidenCluster(my_giotto_object, name = 'leiden_clus')
I expected that my matrix would be appropriately adjusted, but I got the following error:
Error in igraph::as_data_frame(x = igraph_object, what = "edges") :
Not a graph object
For more context, I am running R version 4.0.4 and Giotto version 1.0.4
the script was working beautifully until a couple of days ago. Any help much appreciated!
The text was updated successfully, but these errors were encountered: