Plot clustered Expression-methylation cross-correlation matrix

plot_em_cross_cor(
  em_clust,
  fig_ofn = NULL,
  width = 1000,
  height = 1400,
  k_meth = max(meth_clust$clust),
  k_exp = max(expr_clust$clust),
  km_meth = NULL,
  km_exp = NULL,
  downscale = FALSE,
  zlim = c(-0.6, 0.6),
  colors = c("black", "darkred", "white", "darkblue", "cyan")
)

Arguments

em_clust

output of cluster_em_cross_cor

fig_ofn

filename of the output figure

width

width of the saved figure

height

height of the saved figure

k_meth

k for cutree of matrix rows

k_expr

k for cutree of matrix columns