plot_top_modules: plots the top x gini index modules (see Boniolo and Hoffmann...

View source: R/fn_spongeffects_utility.R

plot_top_modulesR Documentation

plots the top x gini index modules (see Boniolo and Hoffmann 2022 et al. Figure 5)

Description

plots the top x gini index modules (see Boniolo and Hoffmann 2022 et al. Figure 5)

Usage

plot_top_modules(
  trained_model,
  k_modules = 25,
  k_modules_red = 10,
  text_size = 16
)

Arguments

trained_model

returned from train_and_test_model

k_modules

top k modules to be shown (default: 25)

k_modules_red

top k modules shown in red - NOTE: must be smaller than k_modules (default: 10)

text_size

text size (default 16)

bioMart_gene_symbol_columns

bioMart dataset column for gene symbols (e.g. human: hgnc_symbol, mouse: mgi_symbol) (default: hgnc_symbol)

bioMart_gene_ensembl

bioMart gene ensemble name (e.g., hsapiens_gene_ensembl).

Value

plot object for lollipop plot


biomedbigdata/SPONGE documentation built on Feb. 6, 2023, 10:19 p.m.