Create a heatmap with signaling markers over clusters.
ClusterAvg(M, gene_names, cell_order, cell_labels, gene_list)
| M | a matrix of genes x cells where each entry is normalized expression |
|---|---|
| gene_names | the names of the genes in the rows of M |
| cell_order | permutation of the labels of P, cells ordered by cluster |
| cell_labels | cluster labels of the permuted cells |
| gene_list | filter by a list of gene names |
a matrix of avg expression values