Entering edit mode
5.7 years ago
naomibreslin95
•
0
I am using R studio package ggplot2 to generate a barplot. The x axis variables were ordered alphabetically so i used the fct_inorder function to reorder them by my original x-axis data (the way it was ordered in the original file). The issue I am having is with how to change the title of the x-axis title, right now it is titled "fct_inorder(Cell)". I need to change it to say "Cell type". With the fct_inorder function, is it possible to change the x-axis title?