plotHeatmap | R Documentation |
Plot heat map for each plate
plotHeatmap(plotMatrix, plateRows, plateCols, plotRows = NULL, plotCols = NULL, plotName = NULL, plotSep = TRUE, ...)
plotMatrix |
Data frame or numeric matrix. Columns are plates, and rows are plate wells. |
plateRows, plateCols |
Number of rows/columns in plate. |
plotRows, plotCols |
Optional integer vector. Indicate which row/column numbers from the plotMatrix should be plotted. If NULL then all rows/columns from the plotMatrix are used. |
plotName |
Optional. Name of plotMatrix for plot title. |
plotSep |
Optional logical. Should plots be presented in separate windows? Default is TRUE. |
... |
Optional. Additional parameters passed to |
Heat maps can be used to assess the existence of spatial bias on a plate by plate basis. Spatial bias can be visually subtle, however, and sometimes difficult to detect with heat maps. Auto-correlation plots (plotAutoco
) can circumvent this problem.
Modifiable ggplot2 object or list of objects
Other graphical devices: plot3d
,
plotAutoco
, plotBox
,
plotHist
, plotIGFit
,
plotScatter
## load dataset data(ex_dataMatrix) ## plot raw data with graphs separated plotHeatmap(plotMatrix = ex_dataMatrix, plotCols = 5:10, plotName = 'Example', plateRows = 8, plateCols = 10) ## normalize data matrix using any method and store in new variable ex_normMatrix <- normZ(dataMatrix = ex_dataMatrix, dataCols = 5:10) ## plot normalized data with graphs together plotHeatmap(plotMatrix = ex_normMatrix, plotName = 'Example', plateRows = 8, plateCols = 10, plotSep = FALSE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.