dputhier / scigenex

This repository stores the scigenex R library.
Other
4 stars 2 forks source link

Error: no slot of name "data" for this object of class "Assay5" #141

Closed dputhier closed 10 months ago

dputhier commented 10 months ago

When calling scigenex::plot_spatial. Very weird... I think the format of the Seurat object has changed... Will inspect...

dputhier commented 10 months ago

OK. when loading the example from scigenex:

       library(Seurat)
       load_example_dataset("7870305/files/lymph_node_tiny_2")

both formulation work:

       lymph_node_tiny_2@assays$Spatial$data
       lymph_node_tiny_2@assays@Spatial@data

in the other case only $data works... So I will change it to $data....