plot_distribution: Get the HTML or JSON code that plot module distributions

Description Usage Arguments Value Examples

View source: R/functions.R

Description

Get the HTML or JSON code that plot module distributions

Usage

1
2
3
4
5
plot_distribution(
  module,
  output_format = "html",
  plot_type = "biological_features_standard_deviation_distribution"
)

Arguments

module

a Module object

output_format

a string: either 'html' (default) or 'json'

plot_type

type of plot, select from: - 'biological_features_standard_deviation_distribution' (default) - 'sample_sets_magnitude_distribution'

Value

a "xml_document"

Examples

1
2
3
4
5
6
7
## Not run: 
gene_names <-c('VIT_05s0094g00350','VIT_07s0031g02630','VIT_19s0015g02480','VIT_08s0007g08840')
genes <- get_bf(compendium = get_compendium(), gene_names = as.list(gene_names))
mod1 <- create_module(compendium = get_compendium, biofeatures = genes)
my_plot_dist <- plot_distribution(mod1)

## End(Not run)

onertipaday/pyCOMPASSR documentation built on Feb. 27, 2020, 9 a.m.