Description Usage Arguments Details Value Note Author(s) Examples
View source: R/RTCAfunctions.R
Combine a list of RTCA objects
1 |
list |
A list of |
The current implementation requires all the objects have exactly the same time-points recorded (or at least of same length).
The combined RTCA
object has an obligatory column in the
phenoData
‘Plate’ (upper-case!), which matches the names of the
RTCA
list. When the list
has no names, the
‘Plate’ field is filled with integer index starting from 1.
A new RTCA
object
Special attention should be given to the cases where the list
parameter partially has names. In this case all items without name
will be assigned to a ‘Plate’ field of empty string
(“”). Therefore it is advised either to assign names to all
items of the list, or leave them all off.
Jitao David Zhang jitao_david.zhang@roche.com
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | ## An artificial example
require(RTCA)
ofile <- system.file("/extdata/testOutput.csv", package="RTCA")
x <- parseRTCA(ofile)
xSub1 <- x[,1:3]
xSub2 <- x[,4:ncol(x)]
xComb <- combineRTCA(list(sub1=xSub1, sub2=xSub2))
identical(exprs(x), exprs(xComb))
pData(xComb)$Plate
## in case of nameless list
pData(combineRTCA(list(xSub1, xSub2)))$Plate
## partial names
pData(combineRTCA(list(a=xSub1, xSub2)))$Plate
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.