Skip to content

Error in anndata$write(filename = filename, compression = compression, : attempt to apply non-function #8

Description

@akhst7

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions