Does anyone know what this error message means? I tried to change the font to Helvetica, then it worked for small data frames. However, when I try to plot large data frames the error shows up again.
I am using RStudio on Mac
> head(Merged_Columns.m)
SYMBOL Cond variable value
1 Baz2b T 0h 40.5629
2 Tpm4 T 0h 44.8539
3 H2-K1 T 0h 218.9180
4 Usp22 T 0h 23.6377
5 Mreg T 0h 95.8775
6 Arhgap30 T 0h 40.1333
p <- ggplot(Merged_Columns.m, aes(variable, value, colour=Cond)) + geom_point()
p + theme_bw(base_family= 'Helvetica') + facet_wrap(~SYMBOL,ncol = 2) + scale_y_continuous(trans = log2_trans(),
breaks = trans_breaks("log2", function(x) 2^x),
labels = trans_format("log2", math_format(2^.x))) +
theme(axis.text.x = element_text(angle=90)) +
labs(title="10 > CPM > 8", x= "Time (h)" , y= "Expression (log2)")
Error in grid.Call(L_textBounds, as.graphicsAnnot(x$label), x$x, x$y, :
polygon edge not found