-
Notifications
You must be signed in to change notification settings - Fork 42
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
data requirement for getLineages #36
Comments
Thanks for the report! I agree that this is strange behavior and I will add functionality to handle it in the next update. Originally, I thought of |
Oh, sorry, I also should have mentioned that you can work around this by extracting the relevant parts of the
Which will return a |
Sorry for the delay. This is now implemented in the master branch here and in the devel branch of Bioconductor (slingshot version >= 1.3.1). Specifically, |
An error is reported when I try to use the function "getLineages":
spangler.sce is a SingleCellExperiment data converted from Seurat
cl is a list of factor (including numbers 0-9 in the form of characters)
The same problem occurs when I change cl into a vector:
The function slingshot can work very well with the same SingleCellExperiment data:
spangler.sce <- slingshot(spangler.sce,clusterLabels = "seurat_clusters", reducedDim = "PCA")
The text was updated successfully, but these errors were encountered: