PlotORA {scDiffCom} | R Documentation |
Display top over-represented keywords from a category of interest
Description
Plot a graph that shows the top over-represented terms of a given category for a given regulation. Terms are ordered by their ORA scores, computed from their odds ratios and adjusted p-values.
Usage
PlotORA(
object,
category,
regulation = c("UP", "DOWN", "FLAT"),
max_terms_show = 20,
GO_aspect = c("biological_process", "molecular_function", "cellular_component"),
OR_threshold = 1,
bh_p_value_threshold = 0.05
)
## S4 method for signature 'scDiffCom'
PlotORA(
object,
category,
regulation = c("UP", "DOWN", "FLAT"),
max_terms_show = 20,
GO_aspect = c("biological_process", "molecular_function", "cellular_component"),
OR_threshold = 1,
bh_p_value_threshold = 0.05
)
Arguments
object |
|
category |
ORA category to display. Must be the name of one of the
category present in |
regulation |
ORA regulation to display. Can be either |
max_terms_show |
Maximum number of terms to display. Default is
|
GO_aspect |
Name of the GO aspect to display when
|
OR_threshold |
Only the terms with an odds ratio above this threshold
will be displayed. Default is |
bh_p_value_threshold |
Only the terms with an adjusted p-value below
this threshold (and always below 0.05) will be displayed. Default is
|
Details
The ORA score is computed as the product between log2(odds ratio)
and
-log10(adj. p-value)
.
Value
A ggplot object.