properties {SEMgraph} | R Documentation |
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, ...)
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. |
Value
List of graph components, ordered by decreasing size (the first component is the giant one), without self-loops.
Author(s)
Mario Grassi mario.grassi@unipv.it
Examples
# Extract the "Type II diabetes mellitus" pathway:
g <- kegg.pathways[["Type II diabetes mellitus"]]
summary(g)
properties(g)
[Package SEMgraph version 1.2.2 Index]