plotHeatmapColor {PathoStat} | R Documentation |
Plot heatmap with color bar
plotHeatmapColor(df.input, condition.vec.1, condition.vec.2, condition.1.name, condition.2.name, do.scale = TRUE, clusterRow = TRUE, clusterCol = TRUE, displayRowLabels = TRUE, displayColumnLabels = TRUE, displayRowDendrograms = TRUE, displayColumnDendrograms = TRUE, annotationColors = "auto", columnTitle = "Title")
df.input |
Input data object that contains the data to be plotted. Required |
condition.vec.1 |
color vector. Required |
condition.vec.2 |
color vector 2. Required |
condition.1.name |
color vector 1 name. Required |
condition.2.name |
color vector 2 name. Required |
do.scale |
whether to do row scaling |
clusterRow |
Cluster the rows. The default is TRUE |
clusterCol |
Cluster the columns. The default is TRUE |
displayRowLabels |
Display the row labels on the heatmap. The default is TRUE. |
displayColumnLabels |
Display the column labels on the heatmap. The default is TRUE |
displayRowDendrograms |
Display the row dendrograms on the heatmap. The default is TRUE |
displayColumnDendrograms |
Display the column dendrograms on the heatmap. The default is TRUE. |
annotationColors |
Set of annotation colors for color bar. If null, no color bar is shown. If "auto", then colors will be added automatically. The default is "auto". |
columnTitle |
Title to be displayed at top of heatmap. |
ComplexHeatmap object
data('iris') plotHeatmapColor(iris[,1:4], c(rep(1,100), rep(0,50)),c(rep(0,100), rep(1,50)), "condition.1.name", "condition.1.name")