Learn R Programming

ProNet (version 1.0.0)

topology_degree: Degree statistics

Description

Degree distribution statistics of the network.

Usage

topology_degree(graph, power.law = FALSE, fit.line = TRUE)

Arguments

graph
An igraph object.
power.law
Logical value indicating whether the log ratio would be calculated in degree distribution statistics (TRUE) or not (FALSE).
fit.line
Logical value indicating whether to do line fitting in degree distribution statistics (TRUE) or not (FALSE).

Value

A data frame containing the vertex and degree information and plots.

Examples

Run this code
nlocal<-data.frame(c("DVL1","DVL2","DVL3"))
net<-construction(input=nlocal,db="HPRD",species="human",ID.type="Gene symbol",hierarchy=1)
d<-topology_degree(net)
d<-topology_degree(net,power.law=TRUE)

Run the code above in your browser using DataLab