plot_disheat | R Documentation |
Given a set of count tables and design, this will calculate the pairwise distances and plot them as a heatmap. It attempts to standardize the inputs and eventual output.
plot_disheat(
expt_data,
expt_colors = NULL,
expt_design = NULL,
method = "euclidean",
expt_names = NULL,
batch_row = "batch",
plot_title = NULL,
label_chars = 10,
...
)
expt_data |
Dataframe, expt, or expressionset to work with. |
expt_colors |
Color scheme (not needed if an expt is provided). |
expt_design |
Design matrix (not needed if an expt is provided). |
method |
Distance metric to use. |
expt_names |
Alternate names to use for the samples. |
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. |
... |
More parameters! |
a recordPlot() heatmap describing the distance between samples.
[gplots::heatmap.2()]
## Not run:
disheat_plot = plot_disheat(expt = expt, method = "euclidean")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.