Description Usage Arguments Value Examples
plot heatmap from a module
1 2 3 4 5 6 7 8 9 10 11 |
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 returns the graphics object |
alternativeColoring |
A logical - if TRUE (defautl) a color blind friendly palette is used |
min |
A numeric (-6 default) |
max |
A numeric (6 default) |
sorted |
A logical - it returns sorted index for both bf and ss |
Either a json, an html, a plotly htmlwidget, or a list of sorted features
1 2 3 4 5 6 7 8 | ## Not run:
gene_names <- get_biofeature_id(id_In = c('VIT_00s0246g00220',
'VIT_00s0332g00060','VIT_00s0332g00110'), useIds = F)
mod <- create_module(biofeaturesNames=gene_names$id, normalization = "tpm", useIds = T)
plot_module_heatmap(module = mod, normalization = "tpm", plot = TRUE)
sorted_idx <- plot_module_heatmap(mod = mod, sorted = TRUE, plot = FALSE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.