Description Usage Arguments Details Value Note Author(s) See Also Examples
Data in qPCRset objects will have feature categories ("Unreliable", "Undetermined") assigned to them based on different Ct criteria.
1 |
q |
qPCRset object. |
Ct.max |
numeric, the maximum tolerated Ct value. Everything above this will be "Undetermined". |
Ct.min |
numeric, the minimum tolerated Ct value. Everything below this will be "Unreliable". |
replicates |
logical, should Ct values from genes replicated within each sample be collapsed for the standard deviation. |
quantile |
numeric from 0 to 1, the quantile interval accepted for standard deviations. See details. |
groups |
vector, grouping of cards, for example biological or technical replicates. |
flag |
logical, should categories also be set to "Unreliable" according to the content of |
flag.out |
character vector, if |
verbose |
logical, should a summary about category counts per sample be printed to the prompt. |
plot |
logical, should some plots of the standard deviations be created. |
... |
any other arguments are passed to |
Categories can be assigned to the featureCategory
of the qPCRset using either just simple criteria (max/min of Ct values or flag
of q
) or by looking at the standard deviation of Ct values across biological and technical replicates for each gene.
When looking at replicates, the standard deviation and mean are calculated and a normal distribution following these parameters is generated. Individual Ct values that are outside the interval set by quantile
are set as "Unreliable".
So if e.g. quantile=90
the values outside the top 5% and lower 5% of the normal distribution with the given mean and standard deviation are removed.
"Undetermined" has priority over "Unreliable", so if a value is outside quantile
but also above Ct.max
it will be "Undetermined".
NB: When setting categories based on replicates, the Ct values are assumed to follow a normal distribution. This might not be the case if the number of samples within each group is small, and there are no replicates on the genes within each sample.
If the number of replicates vary significantly between biological groups, this will influence the thresholds used for determining the range of "OK" Ct values.
If plot=TRUE
one figure per sample group is returned to the current graphics device.
A qPCRset with the new feature categories is returned invisibly.
It's adviced to try several different values for quantile
, depending on the input data set. Using the function PlotCtCategory(..., by.feature=FALSE)
or plotCtCategory(..., by.feature=TRUE)
might help assess the result of different quantile
choices.
Heidi Dvinge
filterCategory
, plotCtCategory
1 2 3 4 5 | # Load example data
data(qPCRraw)
exFiles <- read.delim(file.path(system.file("exData", package="HTqPCR"), "files.txt"))
# Set categories in various ways
setCategory(qPCRraw, flag=FALSE, quantile=NULL)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.