Description Usage Arguments Details Value Author(s) See Also Examples
Given a data matrix, cluster by sample (if desired), and plot the
dendrogram and heatmap along chromosome coordinates. This function
reuses code from the gplots heatmap.2
function. Note that this
function makes assumptions about the current layout of the display
device, and so should generally be called only via plotChrMap
.
1 2 3 4 |
x |
The strand-specific data matrix to cluster and plot, usually
generated using |
start |
The starting genome coordinate for the plot. |
end |
The ending genome coordinate for the plot. |
col |
A character vector of colors to use in the heat map, or the name of a function generating such a vector. |
dendrogram |
A boolean flag indicating whether or not to draw the dendrogram. |
Rowv |
Determines if and how the sample dendrogram should be
reordered. If a |
margins |
A numeric vector indicating the c(bottom, left) margins of the plot containing X and Y axes labels. |
na.rm |
Whether or not to remove NA from calculations. |
hclustfun |
Function used to compute the hierarchical clustering when
|
distfun |
Function used to compute the distance (dissimilarity) between
both rows and columns. Defaults to |
breaks |
(Optional) Either a numeric vector indicating the
splitting points for binning |
RowSideColors |
(Optional) Character vector of length |
cexRow, cexCol |
(Optional) Positive numbers, used as
|
xlab, ylab |
X- and Y- axis titles; defaults to none. |
labRow, labCol |
Character vectors with row and column labels to
use; these default to |
na.color |
Color to use for missing value ( |
... |
Additional arguments are passed to the |
This function makes assumptions about the plot layout, usually set by
the enclosing chrHeatMap
function. Typically neither of these
functions should be called directly, but rather via the wrapper
plotChrMap
function.
This function is executed for its side effects.
Tim F Rayner
plotChrMap
, createChrMatrix
, chrHeatMap
1 2 3 4 5 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.