attachDataXY-methods: Attach/Remove (X,Y)-Coordinates

Description Arguments Details Value Author(s) See Also Examples

Description

Attach/remove (x,y)-coordinates of raw CEL-files to/from DataTreeSet.

Usage

attachDataXY(object)

removeDataXY(object)

Arguments

object

Object of class "DataTreeSet".

Details

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).

Value

A DataTreeSet object.

Author(s)

Christian Stratowa

See Also

attachInten, removeInten

Examples

 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()

xps documentation built on May 2, 2018, 2:33 a.m.