Closed bbimber closed 3 years ago
Thanks for the info. I guess this is related to the way your package loads SingleR.
You might want to take a look at the new version we will soon submit to bioconductor - https://github.com/LTLA/SingleR, that would probably be a better fit for a pipeline package.
We are trying to use SingleR within my lab's R package, which essentially builds pipeline's from other scRNAseq tools. I found something interesting when I called CreateSinglerObject(). This ends up failing with the error 'hpca not found'. I determined that if I do something like this from within our package code:
assign hpca to global environment
hpca <<- SingleR::hpca CreateSinglerObject(....)
then it will work. I dont quite understand why this is happening, but I thought I would report it.