expHeatmap | R Documentation |
Heatmap for gene expression across sections in a SummarizedExperiment
object.
expHeatmap(object, genes, matrix = "scaled", size = 5)
object |
A |
genes |
A vector of character, the name of genes to plot heatmap. |
matrix |
Character, must be one of |
size |
Character, the size of gene names. Set it to 0 if you do not want to show gene names. |
A ggplot
object.
data(zh.data) zh <- createTomo(zh.data) # Plot some genes. expHeatmap(zh, c("ENSDARG00000002131", "ENSDARG00000003061", "ENSDARG00000076075", "ENSDARG00000076850")) # Plot peak genes. peak_genes <- findPeakGene(zh) expHeatmap(zh, peak_genes$gene) # Remove gene names if too many genes are in the heatmap. expHeatmap(zh, peak_genes$gene, size=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.