Closed bschilder closed 1 year ago
Actually, you currently can't have it all for heatmaps.
plotly
heatmaply
: https://github.com/talgalili/heatmaply/issues/11ggplot2
can do both, but it's not interactive, and plotly::ggplotly()
doesn't translate cellnote labels properly: https://stackoverflow.com/questions/42560957/how-to-write-a-text-into-plotly-heat-map-in-rSo for now, whendraw_cellnote=TRUE
, I'll use heatmaply but avoid usingfill_diag
.
check_heatmap_args <- function(draw_cellnote,
interact,
fill_diag,
verbose=TRUE){
if(isTRUE(draw_cellnote) && isTRUE(interact)){
check_dep("heatmaply")
if(!is.null(fill_diag)){
messager("Warning: fill_diag must =NULL",
"due to a known bug in the package 'heatmaply'.",v=verbose)
fill_diag <- NULL
}
}
return(fill_diag)
}
overlap_heatmap
has new argdraw_cellnote
. Works for both static and interactive version of the plot.Now rendered as transparent cells.
This functionality is not currently offered within
UpSetR
so may need to switch packages: https://github.com/hms-dbmi/UpSetR/issues/183That said, here are workarounds offered by
ComplexUpset
: https://krassowski.github.io/complex-upset/articles/Examples_R.html#showing-percentagesThis has a ton ways to display overlaps including % .