scCustomize icon indicating copy to clipboard operation
scCustomize copied to clipboard

conversion to anndata

Open Flu09 opened this issue 8 months ago • 4 comments

Not sure what is the issue here

as.anndata(x = obj2, file_path = "/tmp", file_name = "obj_anndata.h5ad") • Checking Seurat object validity & Extracting Data Warning: No layers found matching search pattern provided Error in as.anndata(): ! main_layer must be one of counts Run rlang::last_trace() to see where the error occurred. as.anndata(x = obj2, file_name = "obj_anndata.h5ad") Error in as.anndata.Seurat(x = obj2, file_name = "obj_anndata.h5ad") : argument "file_path" is missing, with no default obj2 An object of class Seurat 40090 features across 3600 samples within 1 assay Active assay: RNA (40090 features, 0 variable features) 1 layer present: counts

Flu09 avatar Jun 08 '24 01:06 Flu09