Off topic:How to change x axis title with fct_inorder function, ggplot2.
0
0
Entering edit mode
5.8 years ago

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?

ggplot2 rstudio fct_inorder barplot • 1.3k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2101 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6