Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/heatmap.2.R
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ heatmap.2 <- function (x,
col <- get(col, mode="function")

if(!missing(breaks) && any(duplicated(breaks)) )
stop("breaks may not contian duplicate values")
stop("breaks may not contain duplicate values")

if(!missing(breaks) && (scale!="none"))
warning("Using scale=\"row\" or scale=\"column\" when breaks are",
Expand Down