dmcable / spacexr

Spatial-eXpression-R: Cell type identification (including cell type mixtures) and cell type-specific differential expression for spatial transcriptomics
GNU General Public License v3.0
319 stars 73 forks source link

Speed improvements #206

Open jpromeror opened 5 months ago

jpromeror commented 5 months ago

This PR includes a series of commits intended to reduce the computational time when running the algorithm in doublet mode. Mostly intended for high definition assays (big number of spots), but usable with all other methods.

SpaceXR_SpeedUp

Main changes:

1. Change parallelization approach

2. Speed up gather_results

3. General speed up

4. Add MIN_OBS as parameter to create.RCTD

To do list: