This function generates various visualizations including a network plot, bar plot, and word cloud to provide detailed insights into the enriched functional or biological modules.

plot_module_info(
  object,
  level = c("module", "functional_module"),
  database = c("go", "kegg", "reactome"),
  module_id
)

Arguments

object

An object of a specific class containing enrichment results.

level

A character string specifying the level of biological organization, either "module" or "functional_module".

database

A character string specifying the source database, either "go", "kegg" or "reactome".

module_id

A single identifier specifying the module of interest.

Value

A list containing three ggplot objects: network plot (network), bar plot (barplot), and word cloud (wordcloud).

Author

Xiaotao Shen shenxt1990@outlook.com

Examples

if (FALSE) {
result <- plot_module_info(object = myObject,
level = "module",
database = "go",
module_id = "M123")
}