Error: geom_text_repel requires the following missing aesthetics: label

Hi there,

Following on from another issue which has been Now solved.

I'm trying to label significant points within my ggplot

> g <- ggplot2::ggplot(hits, ggplot2::aes(Colony.Size.Difference.1, Colony.Size.Difference.2,
+                                         color=`Combined adj. P-value`)) + 
+                                         ggplot2::geom_point() +
+                                         geom_text_repel(aes(label = rownames(`Combined adj. P-value`<=1e-03)), data = df.hits_sig, force = 10)
> plot(g)
Error: geom_text_repel requires the following missing aesthetics: label
Run `rlang::last_error()` to see where the error occurred.

Not sure exactly why it is going wrong

This is not valid syntax, to help us help you, could you please prepare a reproducible example (reprex) illustrating your issue? Please have a look at this guide, to see how to create one:

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.