r3fang / SnapATAC

Analysis Pipeline for Single Cell ATAC-seq
GNU General Public License v3.0
300 stars 125 forks source link

runDiffusionMaps error with low cell number #115

Closed galib36 closed 4 years ago

galib36 commented 4 years ago

I am using a different platform where I got 436 cells. When I run runDiffusionMaps with these cells, it gives the following error

Epoch: checking the inputs ... Epoch: computing jaccard similarity matrix ... Epoch: fitting regression model ... Error in sample.int(length(x), size, replace, prob) : cannot take a sample larger than the population when 'replace = FALSE'

Could you please help me to fix this issue.

galib36 commented 4 years ago

Sorry, I think this issue has been dealt with, apology for creating a new one.