snapatac2.read_mtx#
- snapatac2.read_mtx(mtx_file, file, sorted)#
Read Matrix Market file.
- Parameters
mtx_file – File name of the input matrix market file.
file – File name of the output “.h5ad” file.
sorted – Indicate whether the entries in the matrix market file have been sorted by row and column indices. When the data is sorted, only a small amount of (constant) memory will be used.