Description Arguments Details Value Author(s) See Also Examples
Convert gene symbols to internal UNIT_IDs and vice verse.
Usage
symbol2unitID(object, symbol, unittype = "transcript", as.list = TRUE)
unitID2symbol(object, unitID, unittype = "transcript", as.list = TRUE)
object |
Object of class |
symbol |
|
unitID |
vector of UNIT_IDs. |
unittype |
|
as.list |
if TRUE a |
Functions symbol2unitID
and unitID2symbol
returns the UNIT_ID(s) for selected gene symbols
and vice verse.
For exon arrays the internal UNIT_ID(s) depend on unittype
.
By default a list
is returned, however for as.list=FALSE
a character vector of IDs is returned.
A list
or character vector
.
Christian Stratowa
transcriptID2unitID
, probesetID2unitID
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ## load ROOT scheme file
scheme.test3 <- root.scheme(paste(path.package("xps"),"schemes/SchemeTest3.root",sep="/"))
## unitnames not attached
id <- symbol2unitID(scheme.test3, symbol="ACTB", as.list=TRUE)
id
id <- unitID2symbol(scheme.test3, unitID=274, as.list=TRUE)
id
## unitnames attached
scheme.test3 <- attachUnitNames(scheme.test3)
id <- symbol2unitID(scheme.test3, symbol="ACTB", as.list=TRUE)
id
id <- unitID2symbol(scheme.test3, unitID=274, as.list=TRUE)
id
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.