Description Usage Arguments Details Value Author(s) See Also Examples
Create class ExprTreeSet accessing ROOT expression file.
1 |
xps.scheme |
A |
rootfile |
name of ROOT data file, including full path. |
treetype |
tree type. |
treenames |
optional |
An S4 class ExprTreeSet
will be created, serving as R wrapper to the
existing ROOT
expression file rootfile
.
Parameter treetype
must be supplied to identify the ROOT trees for slot data
.
Valid tree types are listed in validTreetype
.
To get the names of all trees with their extensions treetype
, which are stored in
rootfile
, you can call function getTreeNames
first.
If the ExprTreeSet
should only handle a subset of the trees stored in
rootfile
, the tree names must be supplied as vector treenames
.
A ExprTreeSet
object.
Christian Stratowa
1 2 3 4 5 6 7 8 9 | ## 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="/"))
# rma
all.rma <- rma(data.test3,"tmp_Test3RMAAll",tmpdir="",background="pmonly",normalize=TRUE,verbose=FALSE)
## use subset of trees
sub.rma <- root.expr(scheme.test3, "tmp_Test3RMAAll.root", "mdp", c("TestA2.mdp", "TestB1"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.