View source: R/methodsInternal.R
extractInformationWhenNoIntersection | R Documentation |
Create a list containing all node and edge information needed to create the network
extractInformationWhenNoIntersection(gostResults, gostObject)
gostResults |
a |
gostObject |
a |
list
containing 2 entries:
"geneNodes"
: a data.frame
containing the information
about the nodes present in the network. The nodes are genes.
"termNodes"
: a data.frame
containing the information
about the nodes present in the network. The nodes are terms.
"edges"
: a data.frame
containing the information about
the edges present in the network. The edges connect one gene to one term.
Astrid DeschĂȘnes
## Loading dataset containing result from an enrichment analysis done with
## gprofiler2
data(demoGOST)
## Only retained the WikiPathways results
results <- demoGOST$result[demoGOST$result$source == "WP", ]
information <- enrichViewNet:::extractInformationWhenNoIntersection(
gostResults=results, gostObject=demoGOST)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.