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

How to Collect Guides for All PCoA Plots? #371

Open
timz0605 opened this issue Aug 1, 2024 · 1 comment
Open

How to Collect Guides for All PCoA Plots? #371

timz0605 opened this issue Aug 1, 2024 · 1 comment
Labels
bug an unexpected problem or unintended behavior reprex needs a minimal reproducible example

Comments

@timz0605
Copy link

timz0605 commented Aug 1, 2024

Hello!

First of all, this is an awesome package, and thank you so much!

I constructed 6 ordination plots with my data, and I am trying to collect them together. However, although I have tried multiple attempts, I am having trouble collecting the guides for all 6 plots, although they use the same legend. I was wondering if anyone could help take a look at this issue?

Thank you!

(p_106_bray + p_500_bray + p_sessile_bray + 
  p_106_jaccard + p_500_jaccard + p_sessile_jaccard +
  plot_layout(ncol = 2, byrow = FALSE, guides = "collect")) & 
  theme(legend.position = "bottom")

image

@thomasp85
Copy link
Owner

The guide collecting is very picky with the similarity of the guides that are removed. They are only removed if they are exactly correct.

If you can create a minimal example that shows the failing I'll be happy to look into whether it is some problem in your code or if patchwork is running afoul

@thomasp85 thomasp85 added the bug an unexpected problem or unintended behavior label Aug 26, 2024
@thomasp85 thomasp85 added the reprex needs a minimal reproducible example label Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior reprex needs a minimal reproducible example
Projects
None yet
Development

No branches or pull requests

2 participants