Plot a network from a model
plot_module_network( compendium = "vespucci", module = NULL, normalization = "legacy", type = "json", threshold = 0.7, plot = TRUE )
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 |
threshold | A numeric |
plot | A logical - It return the graphics object |
Either a json, an html or a plotly htmlwidget
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_network(module = module_1, plot = FALSE) }