View source: R/ontology_plots.R
plot_ontpval | R Documentation |
This function seeks to make generating pretty pvalue plots as shown by clusterprofiler easier.
plot_ontpval(
df,
ontology = "MF",
fontsize = 14,
plot_title = NULL,
text_location = "right",
text_color = "black",
x_column = "score",
numerator = NULL,
denominator = NULL
)
df |
Some data from topgo/goseq/clusterprofiler. |
ontology |
Ontology to plot (MF,BP,CC). |
fontsize |
Fiddling with the font size may make some plots more readable. |
plot_title |
Set an explicit plot title. |
text_location |
Choose where to put the text describing the number of genes in the category. |
text_color |
Choose the text color, I have a fun function for this now... |
x_column |
Use this column to arrange the x-axis. |
numerator |
Column used for printing a ratio of genes/category. |
denominator |
Column used for printing a ratio of genes/category. |
Ggplot2 plot of pvalues vs. ontology.
[ggplot2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.