YosefLab / VISION

Signature Analysis and Visualization for Single-Cell RNA-seq
https://yoseflab.github.io/VISION/
MIT License
152 stars 30 forks source link

Creating a Vision object from SeuratV5 object #135

Open shp62 opened 1 month ago

shp62 commented 1 month ago

Hello,

Sorry if this is a very basic question but I am trying to make a Vision object from a SeuratV5 object

`signatures <- c("mh.all.v2023.2.Mm.symbols.gmt")

vision.obj <- Vision(seu.object, signatures = signatures)`

and I get the following error: Importing counts from obj[["RNA"]]@counts ... Normalizing to counts per 10,000... Error in .local(data, ...) : no slot of name "counts" for this object of class "Assay5"

I believe this is because of the new seurat object data structure but I don't know how to point the function to the layer

Thank you!