Apply centrality-extended ORA on a single pathway

Share:

Description

Apply centrality-extended ORA on a single pathway

Usage

1
2
3
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)        

Arguments

dif

differential gene list

pc

a pathway.catalogue class object

bk

background gene list. If background gene list are not specified, use whole human genes

pathway

igraph object or edge list

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 cen is a function.

iter

number of simulations

Details

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.

Value

A cepa class object

Author(s)

Zuguang Gu

See Also

cepa.all

Examples

1
2
3
4
5
6
7
8
9
## 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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.