Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error when running DPT function #14

Open
lixin4306ren opened this issue Jan 3, 2019 · 4 comments
Open

error when running DPT function #14

lixin4306ren opened this issue Jan 3, 2019 · 4 comments

Comments

@lixin4306ren
Copy link

command I used:

dpt <- DPT(difmap_out)

error infomration:

Error in auto_branch(dpt, all_cells, stats, w_width) : 
  stats$g >= gmin is not TRUE

what is stats$g?

@flying-sheep
Copy link
Collaborator

Well, without the input data I won’t be able to help you much. Please give me a MCVE

@yingyonghui
Copy link

hi @lixin4306ren , I've encountered the same problem. Have you solved this?
Many thanks!

@DavidvanBruggen
Copy link

DavidvanBruggen commented Jan 21, 2022

Hi @yingyonghui and @lixin4306ren,

If you are not interested in the branch detection than it seems that a simple workaround to this for me was specifying the two branchtips by just choosing a random index. Like so:

pt <- destiny::DPT(diffusionmapobject, tips = c(1,2))

Hope it helps!

@flying-sheep
Copy link
Collaborator

Would be great if you could point me to a way to reproduce the problem, then I could actually fix it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants