Skip to content

Seurat wrapper not working for Seurat v5 objects #81

@FloWuenne

Description

@FloWuenne

Describe the bug
I am trying to run vitessceR using Seurat v5 objects as input. I get the following error:

Warning: Overwriting previous file data/seuratdata/A/0/seurat.zarr.h5Seurat
Creating h5Seurat file for version 3.1.5.9900
Adding counts for RNA
Adding data for RNA
Adding scale.data for RNA
Adding variable features for RNA
Error in if (ncol(x = x[[]])) { : argument is of length zero

To Reproduce
Analyze a seurat object using the seurat v5 installation and try to run the example Seuratwrapper code on that object.

Expected behavior
The expected behaviour is to get the vitessceR dashboard for the seurat object processed as in :
https://vitessce.github.io/vitessceR/articles/seuratdata.html

Screenshots
If applicable, add screenshots to help explain your problem.

Environment:

  • Release or git hash: vitessceR_0.99.0
  • Operating system: MacOS Ventura 13.5 (22G74)
  • R version: R version 4.2.3 (2023-03-15
  • RStudio version: 2023.06.0

I would be happy to help update the wrapper, if you can point me towards the files that need be to adjusted for the v5 format!

Thanks for looking into this and keep up the great work with this package, I really enjoy the vitessce dashboards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions