Plot a distribution from a model
plot_module_distribution( compendium = "vespucci", module = NULL, normalization = "legacy", type = "json", plot = TRUE, plotType = "biological_features_uncentered_correlation_distribution", getRank = FALSE )
| compendium | A string - the selected compendium | 
|---|---|
| module | A matrix with valid rownames (biofeatureNames) and colnames (samplesetsNames) | 
| normalization | A string - either 'limma','tpm' or legacy as normalization | 
| type | A string - either 'html' or 'json | 
| plot | A logical - it return the graphics object | 
| plotType | A string - see  | 
| getRank | A logical - if TRUE return the ranking | 
Either a json, an html, a plotly htmlwidget or a data.frame with the ranking
if (FALSE) { gene_names <- c('VIT_00s0246g00220','VIT_00s0332g00060','VIT_00s0332g00110', 'VIT_00s0332g00160','VIT_00s0396g00010','VIT_00s0505g00030','VIT_00s0505g00060', 'VIT_00s0873g00020','VIT_00s0904g00010') module_1 <- create_module(biofeaturesNames=gene_names, normalization = "legacy") plot_module_distribution(module = module_1, plotType = "biological_features_uncentered_correlation_distribution", plot = TRUE) plot_module_distribution(module = module_1, plotType = "sample_sets_magnitude_distribution", plot = TRUE) plot_module_distribution(module = module_1, plotType = "sample_sets_coexpression_distribution", plot = TRUE) }