Skip to content

Commit

Permalink
Merge pull request #254 from manor/patch-1
Browse files Browse the repository at this point in the history
Fix incorrect use of distfun_row and hclustfun_row
  • Loading branch information
talgalili authored Oct 9, 2020
2 parents b5fc000 + 6ff305c commit d4bf770
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/heatmapr.R
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ heatmapr <- function(x,
Colv <- Rowv
}
if (isTRUE(Colv)) {
Colv <- create_dend(t(x), seriate, distfun_row, hclustfun_row, na.rm)
Colv <- create_dend(t(x), seriate, distfun_col, hclustfun_col, na.rm)
}
if (is.numeric(Colv)) {
Colv <- reorderfun(as.dendrogram(hclustfun_col(distfun_col(t(x)))), rev(Colv))
Expand Down

0 comments on commit d4bf770

Please sign in to comment.