latest
Tutorials
Usage Principles
Installation
API
Preprocessing:
pp
Tools:
tl
Plotting:
pl
Reading
scanpy.read
scanpy.read_10x_h5
scanpy.read_10x_mtx
scanpy.read_visium
scanpy.read_h5ad
scanpy.read_csv
scanpy.read_excel
scanpy.read_hdf
scanpy.read_loom
scanpy.read_mtx
scanpy.read_text
scanpy.read_umi_tools
Get object from
AnnData
:
get
Queries
Metrics
Experimental
Classes
Settings
Datasets
Deprecated functions
External API
Ecosystem
Release notes
Community
News
Contributing
Contributors
References
Scanpy
»
API
»
scanpy.read_mtx
Edit on GitHub
scanpy.read_mtx
scanpy.
read_mtx
(
filename
,
dtype
=
'float32'
)
Read
.mtx
file.
Parameters
filename
:
PathLike
The filename.
dtype
:
str
(default:
'float32'
)
Numpy data type.
Return type
AnnData
Read the Docs
v: latest
Versions
latest
1.9.1
1.8.2
Downloads
On Read the Docs
Project Home
Builds