Skip to content

Commit

Permalink
legend comes back if heatmap body is customized
Browse files Browse the repository at this point in the history
jokergoo committed Apr 9, 2019
1 parent 02ad1d0 commit 056866a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions R/Heatmap-class.R
Original file line number Diff line number Diff line change
@@ -366,9 +366,6 @@ Heatmap = function(matrix, col, name,
message_wrap("If you have column annotations for a zero-row matrix, please directly use in form of `HeatmapAnnotation(...) %v% NULL`")
return(invisible(NULL))
}
if(identical(rect_gp$type, "none")) {
show_heatmap_legend = FALSE
}

### normalize km/split and row_km/row_split
if(missing(row_km)) row_km = km

0 comments on commit 056866a

Please sign in to comment.