digitalcytometry / cytospace

CytoSPACE: Optimal mapping of scRNA-seq data to spatial transcriptomics data
Other
115 stars 19 forks source link

Cannot find more nearest neighbours than there are points #103

Open Svvord opened 4 months ago

Svvord commented 4 months ago

When filtering anchors, the following issue is encountered: " Filtering anchors Error in nn2(data = c(-0.0417689379791717, -0.0351092490379519, -0.0284450529694179, : Cannot find more nearest neighbours than there are points Calls: get_cellfracs_seuratv3 ... FindAnchors -> FilterAnchors -> NNHelper -> do.call -> nn2 Execution halted" For each cell type, I ensure there are at least 1,000 cells. This is a particularly problematic bug because it is difficult to adjust these parameters in Cytospace. It should be specified how many cells are required at a minimum to run Cytospace.