snapatac2.read#

snapatac2.read(filename, backed, /)#

Read .h5ad-formatted hdf5 file.

Parameters
  • filename (Path) – File name of data file.

  • backed (Literal['r', 'r+'] | bool | None) – Default is r+. If 'r', the file is opened in read-only mode. If 'r+' or true, the file is opened in read/write mode. If false or None, the AnnData object is read into memory.