Is there any way to change the style of part of an axis title while keep the rest part unchanged? In my case, How could I italicize \"bacteria X\" in the y-axis title? T
You could make an expression like this:
my_y_title <- expression(paste("No. of ", italic("bacteria X"), " isolates with corresponding types")) .... + labs(y=my_y_title)