Description Usage Arguments Details Value Examples
subnet generates a subnetwork from a network,which consists of specified nodes
1 | subnet(net, nodes, impl = "auto", neighbors = F, delete = T)
|
net |
The original net, which should be a graph object |
nodes |
Gene symbol, which should match the nodes in original net |
impl |
Character scalar, to choose between two implementation of the subgraph calculation. Details are implemented in subraph function of igraph package |
neighbors |
Logical scalar, whether to get the neighbors of input nodes |
delete |
Logical scalar, whether to remove the nodes which do not have any neighbors in the output network |
subnet(net,nodes,impl="auto",neighbors=F,delete=T)
A new igraph graph object
1 2 3 |
NOR2ADE.net <-subnet(net=databases.net,nodes = NOR2ADE.DEGs)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.