corHeat | R Documentation |
Sample correlation heatmap
corHeat(
counts,
method = "spearman",
title = "Spearman Correlation",
hmcol = NULL,
showNum = TRUE,
showTree = FALSE,
annodf = NULL,
annoCols = "Dark2"
)
counts |
data.frame object with rows=genes, and columns=samples |
method |
character indicating correlation method, default is "spearman" |
title |
character indicating plot title |
hmcol |
Color ramp palette to use for heatmap colours. Defaults to 'RdYlBu' colours |
showNum |
Boolean indicating if correlation coefficients should be displayed on heatmap. Default=TRUE. |
showTree |
Boolean indicating if hierarchical clustering trees should be shown. Default=FALSE |
annodf |
Data frame with rownames=sample names and columns of annotation data to be plotted. Leave NULL if none. |
annoCols |
Colour palette for annotations |
Heatmap with clustered rows/columns of correlation between samples
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.