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

Alter width of input plot/tree or things to tree, rather than other way around #8

Open
bananabenana opened this issue Apr 21, 2021 · 1 comment

Comments

@bananabenana
Copy link

Hi, firstly wanted to say how much I really love aplot. It has helped me generate a number of great looking figures.

My issue is that I would like to either have my ggtree phylogeny as the input
ggtree_plot %>% insert_right(metadata1, width = 0.5)
but this returns
Error in x$plotlist[[i]] + ylim2(mp) : non-numeric argument to binary operator

So barring that, I would like to be able to scale the input plot
metadata1, width = 0.5 %>% insert_left(g)

Is there any way to do this?

Thanks

@awitney
Copy link

awitney commented Nov 9, 2021

just to add a +1 for this feature, it would be useful to be able adjust the width of the first "metadata1" object.

Also is there any way to add some padding/spacing between each element of the plot? (i.e. metadata1 and g in the example above)

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