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

Customising the text on ggtaxplot #40

Open
frankie-simo opened this issue Oct 12, 2021 · 1 comment
Open

Customising the text on ggtaxplot #40

frankie-simo opened this issue Oct 12, 2021 · 1 comment

Comments

@frankie-simo
Copy link

I am have created a taxonomic table using MetabaR and have been using theme() to edit aspects of this. However, when the figure is initially produced it has names that are angled, difficult to read, overlap, and run out of the boundary.

I know that theme () works in layers and I have tried using theme(text= element_blank()) to get rid of these names so then I can then customise them with more options but this just clears all text around my legends and not the taxa names.

what packages could tidy these as I know that theme() is for manipulating non-data components

@alexyr23
Copy link

alexyr23 commented Apr 7, 2022

the argument theme will not be working, because the text is plotted with geom_text. The solution I found to customize the size of ggtaxplot labels is to create a new function based on the original one. In the code you add an argument instead of .data$motus*100 and it will be fine:)

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