View source: R/ora_extension.R
cepa.ora | R Documentation |
Apply centrality-extended ORA on a single pathway
cepa.ora(dif, pc, bk = NULL, pathway = NULL, id = NULL, cen = "equal.weight",
cen.name = if(is.function(cen)) deparse(substitute(cen))
else if(mode(cen) == "name") deparse(cen)
else cen,
iter = 1000)
dif |
differential gene list |
pc |
a |
bk |
background gene list. If background gene list are not specified, use whole human genes |
pathway |
|
id |
identify which pathway in the catalogue |
cen |
centrality measuments, it can ce a string, function, or function that has been quoted |
cen.name |
centrality measurement names. This argument should be set if the |
iter |
number of simulations |
The function is always called by cepa.ora.all
. But you can still
use it if you realy want to analysis just one pathway under one centrality.
A cepa
class object
Zuguang Gu <z.gu@dkfz.de>
cepa.all
## Not run:
data(PID.db)
# ORA extension
data(gene.list)
# will spend about 20 min
res.ora = cepa(dif = gene.list$dif, bk = gene.list$bk, pc = PID.db$NCI, id = 2)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.