buenrostrolab / FigR

Functional Inference of Gene Regulation
https://buenrostrolab.github.io/FigR/
MIT License
34 stars 10 forks source link

problem with pairCells function with a large data #41

Open revolvefire opened 7 months ago

revolvefire commented 7 months ago
Thanks for the wonderful tool.

I encountered the following error with the 'pairCells' function:
Error in 'graph.adjacency.dense' (adjmatrix, mode = mode, weighted = weighted, : long vectors not

This occurred with a relatively large number of cells, as shown below:
------------
Running geodesic pairing after chunking data...
Number of cells in the larger dataset: 65267
Number of cells in the smaller dataset: 47697
Difference in cell count between the two datasets: 17570
Chunking the larger dataset to match the smaller dataset...
Chunk size (n) = 47697 cells
Total number of chunks: 2

Chunk #1
Number of cells in the chunk: 47697
---------------

It appears that a few people have also faced the same problem. I was wondering if there is a workaround for this issue.

Thanks!