Read a StreamPress file into a dgCMatrix
Arguments
- path
Path to a
.spzfile.- cols
Optional integer vector of column indices to read (1-indexed).
- reorder
Logical; if
TRUE(default), undo any row permutation.- threads
Integer or NULL; threads for parallel decompression.
NULL(default) enables automatic selection: 1 thread for files smaller than 50 MB (where threading overhead exceeds the benefit), and all available threads for larger files. Use0to always request all available threads, or a positive integer to fix the count.