Open shahrozeabbas opened 3 years ago
I seem able to circumvent that by editing the file R/3scran.R
. I haven't verified the results against test data.
More details: create a local copy of this repository. Then edit the file "R/3scran.R" and change this line:
dbl<-doubletCells(seu@assays$RNA@counts)
into that line (requires scDblFinder
to be installed):
dbl <- scDblFinder::computeDoubletDensity(seu@assays$RNA@counts)
Save the modified file, use devtools::install()
to install this modified version rather than the official one. In a new R session, run View(Chord:::scranDB)
to ensure you're loading the modified version.
The reason of the problem is the newest R package "scran" delete the function "DoubletCells". Installing "scran" use
BiocManager::install("scran",version="3.11")
will solve it.
Maybe I should have paid close attention to version management and check github more frequently...
Thanks for your issue!
I am running Chord on a single cell data set with the default parameters, but am getting the following error.
I have
scDblFinder
installed, but the error still persists.Any help is appreciated, thanks.