View source: R/8_plot_contrastogram.R
plot_contrastogram | R Documentation |
Plot contrastogram
plot_contrastogram(
object,
subgroupvar,
formula = as.formula(paste0("~ 0 +", subgroupvar)),
colors = make_colors(slevels(object, subgroupvar), guess_sep(object)),
curve = 0.1
)
object |
SummarizedExperiment |
subgroupvar |
subgroup svar |
formula |
formula |
colors |
named color vector (names = subgroups) |
curve |
arrow curvature |
list returned by plotmat
if (requireNamespace('diagram', quietly = TRUE)){
file <- download_data('halama18.metabolon.xlsx')
object <- read_metabolon(file)
plot_contrastogram(object, subgroupvar = 'subgroup')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.