You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First of all, thanks for the great package! I have observed a bug that did't always appear, so I wan't sure what the issue was at first. But I have a reproducible example here now. When using FeaturePlot_scCustom along with the split.by argument, the resulting plot is labelled incorrectly, but only when calling a feature from the metadata. When calling a gene and something from the metadata along with a gene, the plots remain in alphabetical order (I think), but the names are in the order listed in the code.
Thanks so much for kind words and thanks very much for the reproducible example! You are right but also found I could reproducible just by general alphabetical issue which allowed me to find bug pretty quickly. This should be fixed now in the develop branch (v2.0.1.9012). If you still have issue after updating package please let me know here and I'll reopen the issue.
Also wanted to add just as a note but when adding a module score you need to provide the features as a list otherwise it computes score for each feature in vector and then adds each of those to the meta.data. If you run the code below it will properly create score:
markers <- FindMarkers(pbmc3k, ident.1 = 'Naive CD4 T')
features <- row.names(markers)[1:30]
pbmc3k <- AddModuleScore(pbmc3k, features = list(features), name = "mod")
Also wanted to add just as a note but when adding a module score you need to provide the features as a list otherwise it computes score for each feature in vector and then adds each of those to the meta.data. If you run the code below it will properly create score:
markers <- FindMarkers(pbmc3k, ident.1 = 'Naive CD4 T')
features <- row.names(markers)[1:30]
pbmc3k <- AddModuleScore(pbmc3k, features = list(features), name = "mod")
Yes, indeed I forgot to call it as a list! . Thanks for the quick fix!
First of all, thanks for the great package! I have observed a bug that did't always appear, so I wan't sure what the issue was at first. But I have a reproducible example here now. When using FeaturePlot_scCustom along with the split.by argument, the resulting plot is labelled incorrectly, but only when calling a feature from the metadata. When calling a gene and something from the metadata along with a gene, the plots remain in alphabetical order (I think), but the names are in the order listed in the code.
sessionInfo() output
The text was updated successfully, but these errors were encountered: