gdcExportNetwork: Export network for Cytoscape

Description Usage Arguments Value Author(s) Examples

View source: R/gdcExportNetwork.R

Description

Export nodes and edges of ce network for Cytoscape visualization

Usage

1
gdcExportNetwork(ceNetwork, net)

Arguments

ceNetwork

a dataframe generated from gdcCEAnalysis

net

one of 'nodes' and 'edges'

Value

A dataframe of nodes or edges

Author(s)

Ruidong Li and Han Qu

Examples

 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')

GDCRNATools documentation built on Nov. 27, 2020, 2 a.m.