Creates a heatmap for visualizing a pairwise distance matrix of genes. The sidebar and side tree represent the partition of genes.

VisualizeGeneHeatmap(
  dist,
  gene_partition = NULL,
  gene_hree = NULL,
  filtered = TRUE
)

Arguments

dist

matrix; a pairwise distance matrix of genes.

gene_partition

factor; a vector indicating the partition of genes into modules. Default is NULL.

gene_hree

hclust; a hierarchical clustering object of genes. Default is NULL.

filtered

logical; if TRUE, filters out some genes for each partition based on the SML method (Parisi et al., 2014). Default is TRUE.

Value

A ggplot2 object representing the heatmap of the gene pairwise distance matrix with gene partitions.

References

Parisi, F., Strino, F., Nadler, B., & Kluger, Y. (2014). Ranking and combining multiple predictors without labeled data. Proceedings of the National Academy of Sciences, 111(4), 1253-1258. doi:10.1073/pnas.1219097111