Open Leoarie-lab opened 6 months ago
Hi @Leoarie-lab,
Thanks for your comment! That error message is a bit confusing, because it's not actually coming from the slingshot
function, but some other function that gets called by slingshot
. This has come up a few times before (notably here) and you should be able to get rid of it by updating a few packages to the latest versions, including slingshot
, Matrix
, and matrixStats
(this may also require updating to the latest version of R, if you haven't already). You will also need to remove the argument useNames = TRUE
, otherwise this will cause an error due to the fact that useNames
is not a valid argument to the slingshot
function.
Hope this helps! Kelly
Dear everyone,
I run this commands
DefaultAssay(today) <- "RNA" sce <- as.SingleCellExperiment(today, assay = "RNA")
sce <- slingshot(sce, reducedDim = "WNN.UMAP", clusterLabels = colData(sce)$ident,start.clus = "Classical", approx_points = 150,useNames = TRUE)
But it showed the error that Error: useNames = NA is defunct. Instead, specify either useNames = TRUE or useNames = FALSE.
Even I put useNames in FALSE or TRUE.
I am sorry, I am new for R or running pseudo time. Could anyone help me to resolve this error?
Thank you very much.