plot_module_network: Plot a network from a model

Description Usage Arguments Value Examples

View source: R/plots.R

Description

Plot a network from a model

Usage

1
2
3
4
5
6
7
8
plot_module_network(
  compendium = "vespucci",
  module = NULL,
  normalization = "legacy",
  type = "json",
  threshold = 0.7,
  plot = TRUE
)

Arguments

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

Value

Either a json, an html or a plotly htmlwidget

Examples

1
2
3
4
5
6
7
8
## Not run: 
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)

## End(Not run)

onertipaday/rcompass documentation built on Sept. 18, 2021, 5:13 p.m.