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

incompatible for group using position_dodge #69

Open
gnilihzeux opened this issue Apr 12, 2024 · 1 comment
Open

incompatible for group using position_dodge #69

gnilihzeux opened this issue Apr 12, 2024 · 1 comment

Comments

@gnilihzeux
Copy link

image

My data
exon_number_in_each_isoform.frequency.txt

My code

ggplot(is_exon_freq_stat, aes(x = exon_number, y = freq, fill = isof_category)) +
  geom_bar(stat = "identity", position = position_dodge(), width = 0.5) +
  theme_classic() +
  scale_fill_manual(values = c("#00AFBB", "#E7B800", "#FC4E07")) +
  xlab("Exon number in each isoform") +
  ylab("Frequency Ratio") +
  theme(axis.title = element_text(size = 20),
        axis.text = element_text(size = 16),
        axis.text.x = element_text(angle = 25, vjust = 1.1, hjust = 1),
        legend.title = element_text(size = 15),
        legend.text = element_text(size = 12)) +
  scale_y_break(breaks = c(5000, 10000), scales = 0.5)
@Tenstu
Copy link

Tenstu commented Jan 11, 2025

Have the same problem when I add a geom_text for labels.

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