Hi all, sorry if this has been answered before, but I haven't been able to find a suitable solution after quite a bit of googling.
I need to save figures as PDFs, with axis labels including both symbols and italic font. Rstudio won't save the symbols unless I use cairo_pdf(). But cairo_pdf won't save italic font...is there a way to have both. I'm trying to label discrete groups on the Y-axis: WT, WT∆myosin, WT∆myosin + MYOSIN etc...The journal I'm submitting to requires PDF figures, and gene knockouts (myosin in this case) need to be italicized.
I've specified my labels as follows:
my.labels <- c(expression(paste("WT∆", italic('myosin')),
expression(paste("∆", italic('myosin'), '+MYOSIN'))
)
They look great until saving with cairo, then the italic formatting is lost.
Cheers,