View source: R/plottingfunctions.R
CorrHeatmap_pdf | R Documentation |
Plot correlation heatmap in pdf
CorrHeatmap_pdf(inputResults, viewer = T, top_pairs = 1200, treecuts = 2, palette = NULL)
inputResults |
IntLimResults object (output of ProcessResults()) |
viewer |
whether the plot should be displayed in the RStudio viewer (T) or in Shiny/Knittr (F) |
top_pairs |
cutoff of the top pairs, sorted by adjusted p-values, to be plotted (plotting more than 1200 can take some time) (default: 1200) |
treecuts |
number of clusters (of gene-metabolite pairs) to cut the tree into for color-coding |
palette |
choose an RColorBrewer palette ("Set1", "Set2", "Set3", "Pastel1", "Pastel2", "Paired", etc.) or submit a vector of colors |
a highcharter object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.