Description Usage Arguments Value Author(s) Examples
View source: R/gdcExportNetwork.R
Export nodes and edges of ce network for Cytoscape visualization
1 | gdcExportNetwork(ceNetwork, net)
|
ceNetwork |
a dataframe generated from |
net |
one of |
A dataframe of nodes or edges
Ruidong Li and Han Qu
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ####### ceRNA network analysis #######
ceOutput <- data.frame(lncRNAs=c('ENSG00000242125','ENSG00000242125',
'ENSG00000245532'),
Genes=c('ENSG00000043355','ENSG00000109586',
'ENSG00000144355'),
miRNAs=c('hsa-miR-340-5p','hsa-miR-340-5p',
'hsa-miR-320b,hsa-miR-320d,
hsa-miR-320c,hsa-miR-320a'),
Counts=c(1,1,4), stringsAsFactors=FALSE)
####### Export edges #######
edges <- gdcExportNetwork(ceNetwork=ceOutput, net='edges')
####### Export nodes #######
## Not run: nodes <- gdcExportNetwork(ceNetwork=ceOutput, net='nodes')
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.