Degree statistics

Share:

Description

Degree distribution statistics of the network.

Usage

1
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

1
2
3
4
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)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.