View source: R/fn_spongeffects_utility.R
plot_top_modules | R Documentation |
plots the top x gini index modules (see Boniolo and Hoffmann 2022 et al. Figure 5)
plot_top_modules( trained_model, k_modules = 25, k_modules_red = 10, text_size = 16 )
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). |
plot object for lollipop plot
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.