Description Arguments Details Value Note Author(s) See Also Examples
Attach/remove unit names, i.e. the Affymetrix probeset IDs to/from SchemeTreeSet
or to slot scheme of DataTreeSet.
Usage
attachUnitNames(object, treetype = "idx")
removeUnitNames(object)
object |
Object of class |
treetype |
the unit tree type, i.e. ‘idx’ or ‘pbs’. |
attachUnitNames exports “UnitName” from unit tree of ROOT scheme file
and and saves it as data.frame in slot unitname.
removeUnitNames removes unitname from slot unitname and replaces data.frame unitname
with an empty data.frame of dim(0,0).
For treetype="idx" the internal “UNIT_ID” will be mapped to the Affymetrix probeset IDs of
the expression arrays or to the transcript_cluster_ids of the exon arrays, respectively, as “UnitName”.
For treetype="pbs" the internal “UNIT_ID” will be mapped to the Affymetrix probeset_ids of
the exon arrays as “UnitName”.
A DataTreeSet object or SchemeTreeSet.
Do not use attachUnitNames unless you know that your computer has sufficient RAM,
especially for exon array schemes.
Christian Stratowa
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | ## first, load ROOT scheme file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## attach unitname
scheme.test3 <- attachUnitNames(scheme.test3)
## get data.frame
unitnames <- unitNames(scheme.test3)
head(unitnames)
## remove unitname
scheme.test3 <- removeUnitNames(scheme.test3)
rm(scheme.test3)
gc()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.