Skip to content

CSRDataset support #151

@kriemo

Description

@kriemo

Sparse matrices can also be stored as CSR sparse matrices. I don't have a reprex, if needed i can generate one:

adata <- read_h5ad("adata.h5ad", backed = "r")
x<- fetch_data(adata, "MSI2")
Error in py_call_impl(callable, call_args$unnamed, call_args$named) : 
  NotImplementedError: The SCUBA Python function fetch_anndata does not know how to handle a matrix of class <class 'anndata._core.sparse_dataset._CSRDataset'>. This ocurred with the matrix at key 'X'.
Run `reticulate::py_last_error()` for details.

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