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

Error for Seurat - gpar' element 'lwd' must not be length 0 #85

Closed
PrashINRA opened this issue Nov 24, 2022 · 1 comment
Closed

Error for Seurat - gpar' element 'lwd' must not be length 0 #85

PrashINRA opened this issue Nov 24, 2022 · 1 comment

Comments

@PrashINRA
Copy link

Hi,
I was successfully running clustree for obtaining clusters at different resolutions from Seurat.
Just updated the Seurat, ggplot2, etc. Now it shows error- Error in check.length(gparname) :
'gpar' element 'lwd' must not be length 0.

My code for Seurat object:

Seu<- FindClusters(Seu, resolution = seq(from = 0.1, to = 0.7, by = 0.1))
clust_seurat <- Seu@meta.data %>% dplyr::select(dplyr::contains("RNA_snn_res."))
clustree::clustree(clust_seurat, prefix="RNA_snn_res.")

@lazappi
Copy link
Owner

lazappi commented Nov 25, 2022

This is a duplicated of #82, please check the discussion there.

@lazappi lazappi closed this as completed Nov 25, 2022
@lazappi lazappi changed the title Error for Seurat Error for Seurat - gpar' element 'lwd' must not be length 0 Nov 25, 2022
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