plot_corheat | R Documentation |
Given a set of count tables and design, this will calculate the pairwise correlations and plot them as a heatmap. It attempts to standardize the inputs and eventual output.
plot_corheat(
expt_data,
expt_colors = NULL,
expt_design = NULL,
method = "pearson",
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 for the samples, not needed if this is an expt. |
expt_design |
Design matrix describing the experiment, not needed if this is an expt. |
method |
Correlation statistic to use. (pearson, spearman, kendall, robust). |
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 options are wonderful! |
Gplots heatmap describing describing how the samples are clustering vis a vis pairwise correlation.
[grDevice] [gplot2::heatmap.2()]
## Not run:
corheat_plot <- hpgl_corheat(expt = expt, method = "robust")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.