Description Usage Arguments Value Author(s) Examples
This function generates the gene set of a pathway.
This function generates a gene set of all physicalEntity's of a pathway. First all interactions of the pathway are retrieved and all components of these interactions are then listed.
1 | pathway2Geneset(biopax, pwid, returnIDonly = FALSE, biopaxlevel = 3)
|
biopax |
A biopax model |
pwid |
string |
returnIDonly |
logical. If TRUE only IDs of the components are returned. This saves tiem for looking up names for every single ID. |
biopaxlevel |
integer. Set the biopax level here if you supply a data.table directly. |
Returns the gene set of the supplied pathway. Returns NULL if the pathway has no components.
Frank Kramer
1 2 3 4 | # load data
data(biopaxexample)
pwid1 = "pid_p_100002_wntpathway"
pathway2Geneset(biopax, pwid=pwid1)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.