plot_expression_profiles: Modules expression profiles

Description Usage Arguments Value Examples

Description

Plot expression profiles for all modules with eigengene highlighted

Usage

1
plot_expression_profiles(data_expr, modules, ...)

Arguments

data_expr

matrix or data.frame or SummarizedExperiment, expression data with genes as column and samples as row.

modules

vector, id (whole number or string) of modules associated to each gene.

...

additional parameters to pass to ggplot2::theme

Value

A ggplot representing expression profile and eigengene by module

Examples

1
2
3
4
df <- kuehne_expr[1:24, 1:350]
net <- build_net(df, n_threads = 1)
detection <- detect_modules(df, net$network, detailled_result = TRUE)
plot_expression_profiles(df, detection$modules)

GWENA documentation built on Feb. 17, 2021, 2:01 a.m.