Description Arguments Value Author(s) See Also Examples
Adds or overwrites quality control samples in an AFLP object.
data |
An AFLP object |
value |
When which == "all", value must be a list with quality information. Otherwise a data.frame with the corresponding quality information. |
which |
A character value matching c("all", "specimen", "replicate"). Defaults to "all". |
data
is updated with the new quality information
Thierry Onkelinx Thierry.Onkelinx@inbo.be, Paul Quataert
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | data(Tilia)
tmp <- replicates(Tilia)
QC(Tilia, which = "all") <- list(
Specimen = data.frame(
Specimen = tmp$Specimen[grep("QC", tmp$Specimen)],
Type = "method"
),
Replicate = data.frame(
Replicate = tmp$Replicate[grep("qc", tmp$Replicate)],
Type = "method"
)
)
QC(Tilia, which = "specimen") <- data.frame(
Specimen = tmp$Specimen[grep("QC", tmp$Specimen)],
Type = "method"
)
QC(Tilia, which = "replicate") <- data.frame(
Replicate = tmp$Replicate[grep("qc", tmp$Replicate)],
Type = "method"
)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.