-
Notifications
You must be signed in to change notification settings - Fork 87
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
Problems with the RunSlingshot() function #242
Comments
I had the same problem, did you solve it? |
2 similar comments
I had the same problem, did you solve it? |
I had the same problem, did you solve it? |
lineages_layers <- SCP::LineagePlot(srt.IC, lineages = c("Lineage1","dpt_pseudotime" ),return_layer = T)
lineages_layers <- lineages_layers[!names(lineages_layers) %in% c("lab_layer")]
gg <- SCP::CellDimPlot(srt.IC, group.by = "group.cellchat",pt.size = 3,
reduction = "UMAP",show_stat = T,palcolor = scPalette(3),
label = F, label_insitu = F)
pp <- gg+
# scale_color_manual(values = scPalette(3))+
guides(color = guide_legend(
title = "Groups",
override.aes = list(color=scPalette(3),size=4)))+
ggnewscale::new_scale_colour()+lineages_layers I can't get the figure, but solve the problem a lit bit. My cellgroup number is 3,so I define my length=3 The problem may be caused by ggnewscale package. Best wishes. |
It appears when I run the RunSlingshot() function using my own data:
1: No shared levels found between
names(values)
of the manual scale and the data's fill values.2: No shared levels found between
names(values)
of the manual scale and the data's fill values.and I can't get the figure.
when I use the data("pancreas_sub"), the same question arises here:
1: No shared levels found between
names(values)
of the manual scale and the data's fill values.2: No shared levels found between
names(values)
of the manual scale and the data's fill values.How do I fix this?
The text was updated successfully, but these errors were encountered: