scanpy.api.read_mtx

scanpy.api.read_mtx(filename, dtype='float32')

Read .mtx file.

Parameters
filename : PathLikePathLike

The filename.

dtype : strstr (default: 'float32')

Numpy data type.

Return type

AnnDataAnnData