Describe the bug
The seurat_transfer method gives an error when trying to create a seurat object from anndata:
Error in validityMethod(as(object, superClass)) :
object 'Csparse_validate' not found
To Reproduce
Steps to reproduce the behavior:
run viash test src/tasks/label_projection/methods/seurat_transferdata/config.vsh.yaml
See error
Expected behavior
the test should pass and say All checks succeeded!
Additional context
According to search results this should be fixed by updating the Matrix Package to >=1.5.3 and load the Matrix package first.
after investigation the package is at version 1.6.0. This cause has been ruled out.
After looking at the script it seems the syntax used is from Seurat version 3.1.0 whereas the version of the Seurat package installed is 4.3.0.
I have tried updating the function anndataToSeurat with following code:
Error: None of the features provided are in this Assay object In addition: Warning message: In CreateSeuratObject.default(counts = adata$layers[["counts"]], : Some cells in meta.data not present in provided counts matrix
I've also tried to update to beta version 5 of Seurat but failed.
Describe the bug The seurat_transfer method gives an error when trying to create a seurat object from anndata:
To Reproduce Steps to reproduce the behavior:
viash test src/tasks/label_projection/methods/seurat_transferdata/config.vsh.yaml
Expected behavior the test should pass and say
All checks succeeded!
Additional context According to search results this should be fixed by updating the Matrix Package to >=1.5.3 and load the Matrix package first. after investigation the package is at version
1.6.0
. This cause has been ruled out.After looking at the script it seems the syntax used is from Seurat version
3.1.0
whereas the version of the Seurat package installed is4.3.0
.I have tried updating the function
anndataToSeurat
with following code:This gave errors such as:
I've also tried to update to beta version 5 of Seurat but failed.