bigomics / playbase

Core back-end functionality and logic for OmicsPlayground
Other
4 stars 0 forks source link

improve read_counts and read.as_matrix speed. #155

Closed ivokwee closed 2 months ago

ivokwee commented 2 months ago

Problem: Read_counts() was slow for large (scRNA matrices) mainly due to unneeded type conversion and checking. Up to 50 seconds for 16000x1800 matrix. While fread() reads in 2-3 seconds.

Solution: