plotCtCor {HTqPCR} | R Documentation |
Function for plotting the correlation based on Ct values between samples containing high-throughput qPCR data.
plotCtCor(q, col, col.range = c(0, 1), main, mar, ...)
q |
object of class qPCRset. |
col |
vector of colours to use, defaults to a spectrum from red to blue/purple. |
col.range |
vector, the range of colours to use. |
main |
character string, plot title. |
mar |
vector, the size of the borrom and right hand side margins. |
... |
any other arguments will be passed to the |
This function may be used to cluster the samples based on Ct values and present the result in a heatmap. Per default the colours are a rainbow scale from 0 to 1.
The correlation is calculated as 1 - the 'Pearson' method. Prior to version 1.9.1 the value plotted was the correlation directly, rather than 1-correlation.
A standard heatmap is drawn, but this can be modified extensively using the arguments available in the heatmap.2
function.
A plot is created on the current graphics device.
Heidi Dvinge
data(qPCRraw) plotCtCor(qPCRraw) plotCtCor(qPCRraw, col.range=c(0,0.6))