I am having trouble adding subscripts my categories on the x axis. My code reads:
xlab("Treatment Combination") +
ylab("CS Activity (IU/gfw)") +
scale_x_discrete(labels = c("Control/Control" = "MControl à LControl",
"Hypoxic/Hypoxic" = "MHypoxia à LHypoxia"))+
I am trying to change "MControl à LControl"
into "M"
as a subscript before a regular "Control"
and again for "L"
as a subscript before a regular "Control"
.
This image shows the category labels without subscripted "M" and "L":
Any ideas on how to makes these subscripted?
Thanks in advance for your help!