Zhiguang Huo (Caleb)
Monday September 21, 2020
##
## Attaching package: 'gplots'
## The following object is masked from 'package:stats':
##
## lowess
dataMatrix <- as.matrix(iris[,1:4])
species <- iris$Species
color0 <- species
levels(color0) <- palette()[1:length(levels(species))]
color <- as.character(color0)
heatmap.2(dataMatrix, trace = "none", RowSideColors = color,
Colv=NA, Rowv = NA )
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row
## dendogram.
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Colv is FALSE, while dendrogram is `column'. Omitting column
## dendogram.
dataMatrix <- as.matrix(iris[,1:4])
species <- iris$Species
color0 <- species
levels(color0) <- palette()[1:length(levels(species))]
color <- as.character(color0)
heatmap.2(dataMatrix, trace = "none", RowSideColors = color,
Colv=NA, Rowv = NA , scale = "row")
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row
## dendogram.
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Colv is FALSE, while dendrogram is `column'. Omitting column
## dendogram.
dataMatrix <- as.matrix(iris[,1:4])
species <- iris$Species
color0 <- species
levels(color0) <- palette()[1:length(levels(species))]
color <- as.character(color0)
heatmap.2(dataMatrix, trace = "none",
RowSideColors = color, col = bluered,
Colv=NA, Rowv = NA , scale = "row")
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row
## dendogram.
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Colv is FALSE, while dendrogram is `column'. Omitting column
## dendogram.
dataMatrix <- as.matrix(iris[,1:4])
species <- iris$Species
color0 <- species
levels(color0) <- palette()[1:length(levels(species))]
color <- as.character(color0)
heatmap.2(dataMatrix, trace = "none",
RowSideColors = color, col = bluered,
Colv=NA, Rowv = NA , scale = "row",
margins = c(6,6))
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Rowv is FALSE, while dendrogram is `both'. Omitting row
## dendogram.
## Warning in heatmap.2(dataMatrix, trace = "none", RowSideColors = color, :
## Discrepancy: Colv is FALSE, while dendrogram is `column'. Omitting column
## dendogram.