Description Usage Arguments Value Examples
Heatmap for gene expression across sections in a SummarizedExperiment
object.
1 | 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.
1 2 3 4 5 6 7 8 9 10 11 12 13 | 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.