get.cepa | R Documentation |
get single cepa object from cepa.all object
get.cepa(x, id = NULL, cen = 1)
x |
a |
id |
index or the name of the pathway |
cen |
index or the name of the centrality |
The 'cepa.all object contains the result for pathways under several centrality
measurements. In cepa.all
object, each pathway under a specific centrality
is a single cepa
object. The get.cepa
function is used to get the cepa
object from the cepa.all
object.
Zuguang Gu <z.gu@dkfz.de>
cepa
, cepa.all
## Not run:
data(PID.db)
# ORA extension
data(gene.list)
# will spend about 20 min
res.ora = cepa.all(dif = gene.list$dif, bk = gene.list$bk, pc = PID.db$NCI)
ora = get.cepa(res.ora, id = 5, cen = 3)
# GSA extension
# P53_symbol.gct and P53_cls can be downloaded from
# http://mcube.nju.edu.cn/jwang/lab/soft/cepa/
eset = read.gct("P53_symbol.gct")
label = read.cls("P53.cls", treatment="MUT", control="WT")
# will spend about 45 min
res.gsa = cepa.all(mat = eset, label = label, pc = PID.db$NCI)
gsa = get.cepa(res.gsa, id = 5, cen = 3)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.