Closed JesseRop closed 3 months ago
Hi,
Thanks for the nicely reported issue.
You're using scDblFinder 1.12.0, the current release one is 1.16.0, and the ability to specify which genes to use was added in 1.13.7, which is why you're getting an error. It should work if you update; alternatively you can use the following workaround:
# same as your example up until running scDblFinder, then
# simply subset to the hvg instead of manually specifying them:
sce2 <- scDblFinder(sce[hvg,], processing=myfun, nfeatures=nfeatures)
# then put the results back in the original object:
sce$scDblFinder.score <- sce2$scDblFinder.score
sce$scDblFinder.class <- sce2$scDblFinder.class
Pierre-Luc
Describe the bug I'm trying to replicate the example in the vignette to use SCT internally within scdblFinder but I get the error below
MRE -- Minimal example to reproduce the bug
Traceback 1: scDblFinder(sce, processing = myfun, nfeatures = hvg)
Session info