plotGODot | R Documentation |
Visualize GO enrichment test result in dot plot
plotGODot(
result,
group = NULL,
query = NULL,
pvalThresh = 0.05,
n = 20,
minDotSize = 3,
maxDotSize = 7,
termIDMatch = "^GO",
colorPalette = "E",
colorDirection = -1,
...
)
result |
Returned list object from |
group |
A single group name to be visualized, must be available in
|
query |
A single string selecting from which query to show the result.
Choose from |
pvalThresh |
Numeric scalar, cutoff for p-value where smaller values are
considered as significant. Default |
n |
Number of top terms to be shown, ranked by p-value. Default
|
minDotSize |
The size of the dot representing the minimum gene count.
Default |
maxDotSize |
The size of the dot representing the maximum gene count. |
termIDMatch |
Regular expression pattern to match the term ID. Default
|
colorPalette , colorDirection |
Viridis palette options. Default
|
... |
Arguments passed on to
|
A ggplot object.
if (requireNamespace("gprofiler2", quietly = TRUE)) {
go <- runGOEnrich(deg.pw)
plotGODot(go)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.