Description Usage Arguments Value Examples
Returns a subgraph matching some condition.
1 |
net |
An igraph network. |
attr |
An attribute of the vertices. |
values |
Possible values of |
affirmative |
Logical. States if a condition must be its affirmation (e.g. all nodes with gene name "X"), or its negation (all nodes not with gene name "X"). |
A subgraph containing only the vertices with attribute equal to any
of the values in values
.
1 2 3 | gi <- get_GI_network(minigwas, snpMapping = minisnpMapping, ppi = minippi)
martini:::subnet(gi, "gene", "A")
martini:::subnet(gi, "name", c("1A1", "1A3"))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.