vis_heatmap2 | R Documentation |
Visualise matrices with the functions based on the pheatmap package with minimum amount of arguments.
vis_heatmap2(
.data,
.meta = NA,
.by = NA,
.title = NA,
.color = colorRampPalette(c("#67001f", "#d6604d", "#f7f7f7", "#4393c3",
"#053061"))(1024),
...
)
.data |
Input matrix. Column names and row names (if presented) will be used as names for labs. |
.meta |
A metadata object. An R dataframe with sample names and their properties, such as age, serostatus or hla. |
.by |
Set NA if you want to plot samples without grouping. |
.title |
The text for the plot's title (same as the "main" argument in pheatmap). |
.color |
A vector specifying the colors (same as the "color" argument in pheatmap). Pass NA to use the default pheatmap colors. |
... |
Other arguments for the pheatmap function. |
A pheatmap object.
vis, repOverlap
data(immdata)
ov <- repOverlap(immdata$data)
vis_heatmap2(ov)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.