HI,
I am tiring to save an ad file as follows;
write_h5ad(pbmc10k.ad, "~/Desktop/pbmc10k.new.h5ad")
but I get this error ;
Error in anndata$write(filename = filename, compression = compression, :
attempt to apply non-function
Here is my ann data;
> pbmc10k.ad
AnnData object with n_obs × n_vars = 10194 × 36601
obs: 'nCount_RNA', 'nFeature_RNA', 'nCount_SCT', 'nFeature_SCT', 'SCT_snn_res.0.8', 'seurat_clusters', 'nCount_unspliced', 'nFeature_unspliced'
var: 'name'
obsm: 'X_pca', 'X_umap'
layers: 'spl', 'unspl'
Any help will be appreciated.
HI,
I am tiring to save an ad file as follows;
write_h5ad(pbmc10k.ad, "~/Desktop/pbmc10k.new.h5ad")but I get this error ;
Here is my ann data;
Any help will be appreciated.