merge {ReadqPCR} | R Documentation |
Generic function for the merging an eSet
and an AnnotatedDataFrame
;
that is, the informatiton given in the AnnotatedDataFrame
is merged into
the appropriate slot of the given eSet
. This can be slot phenoData
(default), featureData
, or protocolData
.
merge(x, y, ...) ## S4 method for signature 'eSet,AnnotatedDataFrame' merge(x, y, eSet.slot = "phenoData", by = intersect(names(pData(x)), names(pData(y))), by.x = by, by.y = by, all = FALSE, all.x = all, all.y = all, sort = FALSE, suffixes = c(".x",".y"), incomparables = NULL, ...) ## S4 method for signature 'AnnotatedDataFrame,eSet' merge(x, y, eSet.slot = "phenoData", by = intersect(names(pData(x)), names(pData(y))), by.x = by, by.y = by, all = FALSE, all.x = all, all.y = all, sort = FALSE, suffixes = c(".x",".y"), incomparables = NULL, ...)
x |
object of class |
y |
object of class |
eSet.slot |
name of the slot of the given |
by |
specifications of the columns used for merging. |
by.x |
specifications of the columns used for merging. |
by.y |
specifications of the columns used for merging. |
all |
logical; |
all.x |
logical; if |
all.y |
logical; analogous to |
sort |
logical. Should the result be sorted on the by columns? |
suffixes |
a character vector of length 2 specifying the suffixes to be used for making unique the names of columns in the result which not used for merging (appearing in by etc). |
incomparables |
values which cannot be matched. See |
... |
additional arguments to be passed to or from methods. |
For details on the arguments see merge
.
Object of class "CyclesSet"
.
merge y
into specified
slot of x
.
merge x
into specified
slot of y
.
Nor Izayu Abdul Rahman, Matthias Kohl Matthias.Kohl@stamats.de
path <- system.file("exData", package = "ReadqPCR") LC480.example <- file.path(path, "LC480_Example.txt") ## Read in the raw qPCR data from file "LC480_Example.txt" ## with maximum cycle to be read in the values is 45 (default). cycData <- read.LC480(file = LC480.example) LC480.SamInfo <- file.path(path, "LC480_Example_SampleInfo.txt") # Read in the sample information data from file "LC480_Example_SampleInfo.txt". samInfo <- read.LC480SampleInfo(LC480.SamInfo) cycData1 <- merge(cycData, samInfo)