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

set size of sequence labels in dotplot() #23

Open
fraca opened this issue Feb 23, 2021 · 3 comments
Open

set size of sequence labels in dotplot() #23

fraca opened this issue Feb 23, 2021 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@fraca
Copy link

fraca commented Feb 23, 2021

Hi David,
How can I set the size of label_seqs in the dotplot()?

Best,

Marco

@dwinter dwinter changed the title set size of set size of sequence labels in dotplot() Feb 23, 2021
dwinter added a commit that referenced this issue Feb 23, 2021
Help for #23, needs proper docs before being checked in
@dwinter
Copy link
Owner

dwinter commented Feb 23, 2021

Hi @fraca, in the current version of the package this is not actually possible (there are so many things that could be tweaked, we tried not to overload the number of arguments in the functions, but that means some fo the variables are not included).

I just pushed a very quick fix to alow this for now, you can install a new version of pafr with this using devtools:

library(devtools)
install_github("dwinter/pafr", ref="feature-label-seqs")

Then you can use the new label_size argument to mess with the size of the labels.

Hope that's a help, I'l keep this issue open until there is a complete fixe in the 'main' repo.

@fraca
Copy link
Author

fraca commented Feb 24, 2021

Many thanks David,
I changed also vjust=0 of the query labels. So the labels are above the x axis and I can play better with the size.

@dwinter dwinter added this to the 0.1 milestone Mar 22, 2021
@dwinter dwinter added the enhancement New feature or request label Mar 22, 2021
@mestato
Copy link

mestato commented Aug 29, 2023

This didn't work for me. I also tried altering with ggplot by doing:
dotplot(gilva,label_seqs = TRUE) + theme(text = element_text(size = 10))

No luck.

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

No branches or pull requests

3 participants