plot_heatmap | R Documentation |
This does what is says on the tin. Sets the colors for correlation or distance heatmaps, handles the calculation of the relevant metrics, and plots the heatmap.
plot_heatmap(
expt_data,
expt_colors = NULL,
expt_design = NULL,
method = "pearson",
expt_names = NULL,
type = "correlation",
batch_row = "batch",
plot_title = NULL,
label_chars = 10,
...
)
expt_data |
Dataframe, expt, or expressionset to work with. |
expt_colors |
Color scheme for the samples. |
expt_design |
Design matrix describing the experiment vis a vis conditions and batches. |
method |
Distance or correlation metric to use. |
expt_names |
Alternate names to use for the samples. |
type |
Defines the use of correlation, distance, or sample heatmap. |
batch_row |
Name of the design row used for 'batch' column colors. |
plot_title |
Title for the plot. |
label_chars |
Limit on the number of label characters. |
... |
I like elipses! |
a recordPlot() heatmap describing the distance between samples.
[gplots::heatmap.2()]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.