Skip to content

Is SnapATAC2 AnnData class expected to work with scvi-tools? #117

Answered by kaizhang
vitkl asked this question in Q&A
Discussion options

You must be logged in to vote

The AnnData class has two modes in SnapATAC2 similar to the anndata package. They are:

  1. backed mode: the AnnData in this mode is rewritten using Rust. However, the Python user interface remains largely the same, except that it uses polars dataframe instread of pandas dataframe. This might work out-of-box with scvi-tools. If not, it shouldn't be too hard to make it work.
  2. in-memory mode: it is just the AnnData object from the anndata python package. So it should work with scvi-tools.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vitkl
Comment options

@kaizhang
Comment options

@vitkl
Comment options

Answer selected by vitkl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants