Commit dbcf747a authored by Lena Hersemann's avatar Lena Hersemann

added common q-score color scale for enrichment plots

parent 2c462675
......@@ -332,7 +332,7 @@ term_barplot_files = erPlotData %>% do({
# ggplot(aes(fixed_width_term, Count)) +
geom_point(pch=21) +
scale_color_manual(values = term_category_colors, drop = F, name = "Ontology") +
scale_fill_gradient(low="red", high="white", name = "q-value") +
scale_fill_gradient(low="red", high="white", name = "q-value", limits = c(min(erPlotData$qvalue), max(erPlotData$qvalue))) +
coord_flip() +
# xlab("Enriched Terms") +
ggtitle(label)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment