Closed zqsha closed 2 years ago
I think you are using runUMAP
from the scater
package. It should be RunUMAP
:
pbmc_small <- scater::runUMAP(pbmc_small) # this is incorrect
Warning: The following arguments are not used: drop
Error in h(simpleError(msg, call)) :
error in evaluating the argument 'x' in selecting a method for function 'type': unused argument (drop = FALSE)
pbmc_small <- RunUMAP(pbmc_small) # correct
When I'm trying to run UMAP for a dataset that is SCTranformed, I had error saying Warning: The following arguments are not used: drop Error in h(simpleError(msg, call)) : error in evaluating the argument 'x' in selecting a method for function 'type': unused argument (drop = FALSE)
I used the following code and got the error described above maple_seurat <- SCTransform(maple_seurat, assay = "originalexp", verbose = FALSE) maple_seurat <- RunPCA(maple_seurat) maple_seurat <- runUMAP(maple_seurat, reduction="pca")
I heard this issue can be fixed by updating the SeuratDisk and sctransform. But after updating these toolboxes, this error remains. Here is the sessionInfo from my side. Any thoughts on fixing it? Thank you so much