Description Arguments Details Value Note Author(s) See Also Examples
Attach/remove raw CEL intensities to/from DataTreeSet.
Usage
attachInten(object, treenames = "*")
removeInten(object)
object |
Object of class |
treenames |
Object of class |
When CEL files will be imported using function import.data,
the raw intensities will be stored in ROOT data trees.
However, the intensities will not be saved in class DataTreeSet as slot
data, thus avoiding memory problems. Function attachInten allows to
fill slot data on demand.
attachInten exports intensities from data trees from ROOT data
file and and saves as data.frame data. treenames is a vector of
tree names to attach; for treenames="*" all trees from slot treenames
will be exported and intensities attached as data.frame data.
removeInten removes intensities from DataTreeSet and replaces
data.frame data with an empty data.frame of dim(0,0).
A DataTreeSet object.
Do not use attachInten unless you know that your computer has sufficient RAM,
especially when using exon arrays. It may be advisible to use a subset of treenames
only.
Christian Stratowa
1 2 3 4 5 6 7 8 9 10 11 | ## load existing 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="/"))
dim(intensity(data.test3))
data.test3 <- attachInten(data.test3)
dim(intensity(data.test3))
head(intensity(data.test3))
data.test3 <- removeInten(data.test3)
dim(intensity(data.test3))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.