JhuangLab / CytoTree

A Toolkit for Construct Tree-shaped Trajectory for Flow and Mass Cytometry data
24 stars 10 forks source link

Cannot create iterator with "runPseudotime" #8

Open Bsalome opened 2 years ago

Bsalome commented 2 years ago

Hi, I used runCluster, processingCluster, runFastPCA, runUMAP, runTSNE, buildTree successfully. I can visualize the clusters with plot2D.

When I run: cyt<-defRootCells(cyt, root.cells=c(13,16,21)) cyt<-runPseudotime(cyt, verbose=TRUE, dim.type="umap", dim.use=seq_len(2))

I get the following error message: Error in distances(g, v = root.cells) : At core/graph/iterators.c:762 : Cannot create iterator, invalid vertex id, Invalid vertex id

The defRootCells function worked, since the clusters 13, 16, 21 are identified with a "1" in "is.root.cells" from meta.data.

Any idea how to solve this issue?

I used the exact same steps in a previous analysis, on another laptop, and it worked perfectly well.

Thank you so much in advance!

ytdai commented 1 year ago

Perhaps so many input cells.