View source: R/visualization.R
plotCor | R Documentation |
This function generates a correlation (heatmap-type) plot for
partial correlations. Polycistronic clusters of the markers are
highlighted in the lower tri-diagonal part of the matrix while
partial correlations are shown in the upper tri-diagonal part.
Partial correlations can be computed using the partialCor
function.
plotCor(pCor, clusters, title)
pCor |
Matrix of partial correlations. Rows and columns must be named by their corresponding markers |
clusters |
Named Vector of clusters. Associates each marker
to a polycistronic cluster. Usually generated using
the function |
title |
Optional. Plot title |
ggplot2
object of a correlation plot for the given
partial correlations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.