Learn R Programming

SEMgraph (version 1.2.3)

properties: Graph properties summary and graph decomposition

Description

Produces a summary of network properties and returns graph components (ordered by decreasing size), without self-loops.

Usage

properties(graph, data = NULL, ...)

Value

List of graph components, ordered by decreasing size (the first component is the giant one), without self-loops.

Arguments

graph

Input network as an igraph object.

data

An optional data matrix (default data = NULL) whith rows corresponding to subjects, and columns to graph nodes (variables). Nodes will be mapped onto variable names.

...

Currently ignored.

Author

Mario Grassi mario.grassi@unipv.it

Examples

Run this code

# Extract the "Type II diabetes mellitus" pathway:
g <- kegg.pathways[["Type II diabetes mellitus"]]
summary(g)
properties(g)

Run the code above in your browser using DataLab