ceRNA.Net: visualize and analyze the identified ceRNA-ceRNA network...

Description Usage Arguments Details Value Examples

View source: R/ceRNA.Net.R

Description

A downstream analysis function of ceRNAseekvisualize and analyze the identified ceRNA-ceRNA network, the network can be defined as weighted or un-weighted network.and the basic topological features (such as degree, closeness, betweenness and centrality) of the ceRNAs can be output.

Usage

1
2
3
4
ceRNA.Net(data, net_direct = TRUE, vertex_size = 20, v.label = TRUE,
         node_shape = "circle",n_color = "orange",E_weight = TRUE, ity = 1,
         label_cex = 2, label_color = "black",edge_color = "gray", 
         n_frame.color = "gray")

Arguments

data

A matrix of ceRNA interaction pairs identified by statistical identification methods selected by the user .

net_direct

A logical variable specifies a directed or undirected network.default (net_direct = TRUE).

vertex_size

a numeric vector to adjust the node size,default (vertex_size = 20).

v.label

Whether to display the label of the node.default (v.label = TRUE).

node_shape

A character vector is used to adjust the shape of the node,The selectable shape parameters are "circle","square","csquare","rectangle","crectangle","vrectangle","pie", "sphere","none".default (node_shape = "circle").

n_color

The character vector used to define the fill color of the node.

E_weight

A logical vector represents whether the network is a weighted network,default (E_weight = TRUE).

ity

A numeric vector defines whether the edge is a solid line or a dotted line,the possible values of the vector are c(1, 2), default (ity = 1).

label_cex

Specify the size of the node label font.

label_color

Specify the label color of the node.

edge_color

Specify the color of the network side.

n_frame.color

The character vector used to define the border color of the node.

Details

This function calls the igraph package. For specific parameter settings, please refer to the igrap help documentation. Note:All the arguments without default value must be assigned.

Value

The output includes two parts: the network diagram of ceRNA interaction and the topology attribute information of the network.

Network topology attributes include 5 types of information:

Examples

1
2
3
4
5
6
7
8
9
##Display ceRNA interactions in a network format and output network topology attributes.
##The input file can be a list of [ceRNA] of the ceRNA.Lin result file, a list of [cesig] 
##for the result file identified by ceRNA.basic, or a list of [ceRNA_comP] in the result
##file identified by the ceRNA.cmi function.
##Here we apply the ceRNA list in the example file for CMI identification to 
##display the network and analyze the network topology properties.
ceRNA.Net(as.matrix(dataset[["Pre.ceRNA"]]),net_direct=TRUE,vertex_size=20,v.label = TRUE,
         node_shape="circle",n_color = "orange",E_weight=TRUE,ity=1,label_cex=2,
         label_color="black",edge_color="gray",n_frame.color = "gray")

Example output

       degree closeness betweenness cluster coefficient Eigenvector centrality
GMFB        1 0.1111111           0                 NaN              0.3977508
PTEN        5 0.2000000           6                 0.1              1.0000000
JARID2      2 0.1250000           0                 1.0              0.6604422
KLC2        2 0.1250000           0                 1.0              0.6604422
RB1         1 0.1111111           0                 NaN              0.3977508
RCN1        1 0.1111111           0                 NaN              0.3977508

CeRNASeek documentation built on April 29, 2020, 9:37 a.m.