Changing length of x axis on ggplot
Hi I have made a plot with Chromosomes on x axis and P values on y-axis. On x axis I get all 20 chromosomes that were in the analysis but I want the x axis size to increase to 23 total.
ggplot(Results, aes(x = factor(Chromosomes), y = P-value)) + geom_point() + theme(axis.text.x = element_text(angle = 90) + xlab("Chromosome")+ ylab("P-value") +labs(title= "Results_analysis" ,y="P-value", x = "Chromosomes")
• 84 views