View source: R/ontology_plots.R
plot_goseq_pval | R Documentation |
With minor changes, it is possible to push the goseq results into a clusterProfiler-ish pvalue plot. This handles those changes and returns the ggplot results.
plot_goseq_pval(
goterms,
wrapped_width = 30,
cutoff = 0.1,
x_column = "score",
order_by = "score",
decreasing = FALSE,
n = 30,
mincat = 5,
level = NULL,
...
)
goterms |
Some data from goseq! |
wrapped_width |
Number of characters before wrapping to help legibility. |
cutoff |
Pvalue cutoff for the plot. |
x_column |
Choose the data column to put on the x-axis of the plot. |
order_by |
Choose the data column for ordering the bars. |
decreasing |
When ordering the bars, go up or down? |
n |
How many groups to include? |
mincat |
Minimum size of the category for inclusion. |
level |
Levels of the ontology tree to use. |
... |
Arguments passed from simple_goseq() |
Plots!
[ggplot2]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.