Description Arguments Details Value Author(s) See Also Examples
Attach/remove (x,y)-coordinates of raw CEL-files to/from DataTreeSet
.
Usage
attachDataXY(object)
removeDataXY(object)
object |
Object of class |
attachDataXY
exports (x,y)-coordinates only from data tree of ROOT
data file
and and saves it as data.frame
in slot data
.
removeDataXY
removes (x,y)-coordinates from slot data
and replaces data.frame data
with an empty data.frame of dim(0,0).
A DataTreeSet
object.
Christian Stratowa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## first, load ROOT scheme file and ROOT data file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
data.test3 <- root.data(scheme.test3, paste(path.package("xps"),"rootdata/DataTest3_cel.root",sep="/"))
## attach (x,y)-coordinates
data.test3 <- attachDataXY(data.test3)
## get data.frame
xy <- treeData(data.test3)
head(xy)
## remove (x,y)-coordinates
data.test3 <- removeDataXY(data.test3)
rm(scheme.test3, data.test3)
gc()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.