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

untangle generates number of items to replace is not a multiple of replacement length warning for some methods #113

Open
djwalkr opened this issue Mar 21, 2023 · 1 comment

Comments

@djwalkr
Copy link

djwalkr commented Mar 21, 2023

When untangling two large dendrograms I get "In weights_for_order[order_x[order]] <- weights the number of items to replace is not a multiple of replacement length". There are no NAs, the dendrograms plot normally individually and without untangling. Untangle methods "label", "ladderize", "random", and "DendSer" all work without generating an error for the same data. It is only when sides are permuted that the error appears. Presumably the weighting function is generating some kind of NA? These are only warnings and the dendrograms draw - with results comparable DendSer

@talgalili
Copy link
Owner

Hey @djwalkr
Thanks for the report.
I'm not sure how to address it.
Any chance for a small reproducible example?

(otherwise, I propose to close the issue until such an example will be available to debug and fix)

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

2 participants