Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seurat v5 not compatible with Azimuth #229

Open
chunjie-sam-liu opened this issue Jul 1, 2024 · 0 comments
Open

Seurat v5 not compatible with Azimuth #229

chunjie-sam-liu opened this issue Jul 1, 2024 · 0 comments

Comments

@chunjie-sam-liu
Copy link

I tried to run the command below and get the error becuase of compatibility with Seurat v5

Azimuth::RunAzimuth(
  query = "PBMC_10K_output/filtered_feature_bc_matrix.h5",
  reference = "pbmcref"
)
Error in validObject(object = object) : 
  invalid class “Assay5” object: Layers must be two-dimensional objects
Calls: <Anonymous> ... .CreateStdAssay.list -> LayerData<- -> LayerData<-.Assay5 -> validObject

The error was caused by the SeuratObject:::CreateSeuratObject.default when Azimuth::LoadReference to load the reference cell map.

reference <- LoadReference(reference)$map

For the Seurat version less than v5, it is ok but if the Seurat greater than v5, it will result in invalid class “Assay5” object: Layers must be two-dimensional objects.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant