Description Usage Arguments Value Examples
Extract a sub network from the original one.
1 2 |
graph |
An igraph object. |
mode |
Extraction mode, either be |
sample.number |
Sampled nodes if |
nodes |
A vector of vertex id to extract the subnetwork if |
vertex.name |
A vector of vertex name to extract the subnetwork if |
vertex.expression |
Attribute used to choose the vertex and extract the subnetwork. |
... |
Other vertex or edge atrributes. |
An igraph object.
1 2 | g<-graph.ring(100)
g1<-extraction(g,mode="sample",sample.number=5)
|
Loading required package: Rcpp
Loading required package: igraph
Attaching package: 'igraph'
The following objects are masked from 'package:stats':
decompose, spectrum
The following object is masked from 'package:base':
union
Loading required package: MCL
Loading required package: linkcomm
Loading required package: RColorBrewer
Welcome to linkcomm version 1.0-11
For a step-by-step guide to using linkcomm functions:
> vignette(topic = "linkcomm", package = "linkcomm")
To run an interactive demo:
> demo(topic = "linkcomm", package = "linkcomm")
To cite, see:
> citation("linkcomm")
NOTE: To use linkcomm, you require read and write permissions in the current directory (see: help("getwd"), help("setwd"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.