Description Usage Arguments Value Examples
Plot overlap statistics as a bar graph
1 2 3 4 5 6 7 8 | plot_stats(
stats,
value,
color,
val_trans = "identity",
col_trans = "identity",
sort_y = FALSE
)
|
stats |
value from |
value |
|
color |
|
val_trans |
optional: value transformation, see |
col_trans |
optional: color transformation, see |
sort_y |
whether to sort annotations by |
ggplot2: bar chart of statistics
1 2 3 4 5 6 7 8 | anno_path <- system.file("extdata", "ex_anno.csv", package = "glacier")
data_path <- system.file("extdata", "ex_data.csv", package = "glacier")
anno <- import_annotations(anno_path, ",", TRUE, c(2, 4), 5)
data <- import_database(data_path, ",", FALSE, c(2, 4), 0)
input <- process_input_text('CYP1A1 0.2 CYP1B1 NQO1 0.3 SODD 9.0')
results <- compute(input, anno, data)
stat <- plot_stats(results$stats, 'Fold Enrichment', 'Adjusted P-value')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.