Nanostring-Biostats / InSituCor

InSituCor An R package for discovering modules of spatially correlated genes in spatial transcriptomics data.
Other
0 stars 0 forks source link

sparse to dense matrix conversions #6

Closed dan11mcguire closed 10 months ago

dan11mcguire commented 10 months ago

These warnings cause slow downs and can turn into errors if the data is counts matrix is large enough.

image

Could find a way to rewrite these calculations using sparse matrix algebra, or maybe converting the non-zero values in the spaarse matrix to a data.table and doing the calculation on that.

patrickjdanaher commented 10 months ago

Brilliant. Done.