Entering edit mode
ucheuna
•
0
@ucheuna-13644
Last seen 7.3 years ago
Hey Mike, while following the time course experiments vignette, I continue to get an error when I use the code below:
fiss <- plotCounts(ddsTC, which.min(resTC$padj),
intgroup = c("minute","strain"), returnData = TRUE)
ggplot(fiss,
aes(x = as.numeric(minute), y = count, color = strain, group = strain)) +
geom_point() + geom_smooth(se = FALSE, method = "loess") + scale_y_log10()
The error says:
Error: could not find function "geom_point"
I intend to plot gene expression changes over time between wild type and knockout mice. This is a follow-up from yesterday's post. Thanks for your help.
Probably a space issue. as @Matthias Z mentioned. I tried and its working fine. Maybe suggestion of representing the strain and minute in different shape and color.
geom_point(aes(color = strain, shape = minute))
Hope it helps!!