dotools_py.io.read_mtx

Contents

dotools_py.io.read_mtx#

dotools_py.io.read_mtx(path, filename=None, **kwargs)[source]#

Read .mtx file.

Parameters:
path str | PathLike[str] | Path

Directory with the .mtx file.

filename str (default: None)

Name of the .mtx file. If not specified, assume that path contains the full path to the .mtx file.

kwargs

Additional arguments pass to anndata.io.read_mtx.

Return type:

AnnData

Returns:

Returns an AnnData object.