Description Usage Arguments Value Examples
This function plots a heatmap of the gene expressions forthe "n" features of interest.
1 2 |
obj |
ExpressionSet object or objrix. |
n |
Number of features to make use of in plotting heatmap. |
fun |
Function to sort genes by, default |
normalized |
TRUE / FALSE, use the normalized matrix or raw counts. |
log |
TRUE/FALSE log2-transform raw counts. |
... |
Additional plot arguments for |
coordinates
1 2 3 4 5 6 7 8 9 10 11 12 | data(skin)
tissues <- pData(skin)$SMTSD
plotHeatmap(skin,normalized=FALSE,log=TRUE,trace="none",n=10)
# Even prettier
# library(RColorBrewer)
data(skin)
tissues <- pData(skin)$SMTSD
heatmapColColors <- brewer.pal(12,"Set3")[as.integer(factor(tissues))]
heatmapCols <- colorRampPalette(brewer.pal(9, "RdBu"))(50)
plotHeatmap(skin,normalized=FALSE,log=TRUE,trace="none",n=10,
col = heatmapCols,ColSideColors = heatmapColColors,cexRow = 0.6,cexCol = 0.6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.