Description Usage Arguments Details Value Author(s) See Also Examples
In high-throughput qPCR data some features may be present twice on each card (sample). This function will make a scatter plot of one replicate versus the other for each sample individually, as well as mark genes with very deviating replicate values.
1 | plotCtReps(q, card = 1, percent = 20, verbose = TRUE, col = 1, ...)
|
q |
object of class qPCRset. |
card |
integer, the sample number to plot. |
percent |
numeric, features with replicate values differ more than this percentage from their average will be marked on the plot. |
verbose |
logical, should the deviating genes and their Ct values be printed to the terminal. |
col |
integer or character; the colour of the points in the scatter plot. |
... |
any other arguments are passed to |
This function will look through the data in the qPCRset, find all genes with are presented twice on the array, and plot the Ct values of these replicated genes against each other. Whether a genes goes to the x or y-axis depends on the first occurrence of the gene names.
All genes where abs(rep1-rep2) > percent/100*replicate mean will be marked by an open circle, and the gene names written in red letters.
An plot is created on the current graphics device. Also, a data.frame with the names and values of deviating genes is returned invisibly.
Heidi Dvinge
plot
, and par
for the plotting parameters.
1 2 3 4 5 6 7 | # Load example data
data(qPCRraw)
# Plot replicates
plotCtReps(qPCRraw, card=1, percent=30)
plotCtReps(qPCRraw, card=2, percent=10)
reps <- plotCtReps(qPCRraw, card=2, percent=20)
reps
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.