Description Usage Arguments Value Examples
Heatmap will plot genes on the X-axis against annotations on the Y-axis.
Matches will be shown with colored squares, and non-matches will be
transparent. If the value
is "Gene Value", "Odds Ratio", "Fold
Enrichment" or "Adjusted Fold Enrichment", if the value is NaN or an
infinity, these will also be transparent.
1 | plot_overlap(matches, value, input, stats, val_trans = "identity")
|
matches |
value from |
value |
|
input |
output of |
stats |
value from |
val_trans |
optional: value transformation, see |
ggplot2: heatmap of overlap
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)
over <- plot_overlap(results$matches, "Gene Value", input, results$stats)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.