interactive.omics.network | R Documentation |
Interaction Omics Network Object
Interaction Omics Network Object
ig
An igraph object
pca
Dimensionality reduction on node measures
nodes
A data frame of labeled nodes
edges
A data frame of undirected edges
properties
A list of graph-level properties Init
new()
interactive.omics.network$new( ig, symbols = NULL, graph.measures = c("nodes", "edges", "density", "clustering"), node.measures = c("degree", "eigen", "betweenness", "stress"), quiet = TRUE )
ig
An undirected igraph object
symbols
A mapping of node identifiers to symbols
graph.measures
A vector of graph measures to compute
node.measures
A vector of node measures to compute
quiet
Use true to silence messages
A new network object
print()
Print network information
interactive.omics.network$print()
NULL
init.properties()
Computes graph-level properties
interactive.omics.network$init.properties(measures = c(), quiet = TRUE)
measures
A vector of measures to compute
quiet
Use true to silence messages
NULL
init.nodes()
Computes node-level properties
interactive.omics.network$init.nodes( symbols = NULL, measures = c(), quiet = TRUE )
symbols
A mapping of node identifers to symbols
measures
A vector of measures to compute
quiet
Use true to silence messages
NULL
init.edges()
Computes edge-level properties
interactive.omics.network$init.edges()
NULL
get.symbols()
Maps ids to symbols
interactive.omics.network$get.symbols(ids)
ids
A vector of node identifiers
A vector of symbols
get.interactors()
Get interactors
interactive.omics.network$get.interactors( ids, degree = 1, remove.ids = TRUE, use.symbols = FALSE )
ids
Node identifiers
degree
Edge degree to include in subset
remove.ids
Include original ids
use.symbols
Return node symbols instead of ids
A vector of interactors
get.subnetwork()
Get subnetwork
interactive.omics.network$get.subnetwork( ids, degree = 1, indirect.edges = FALSE )
ids
Node identifiers
degree
Edge degree to include in subset
indirect.edges
Include edges between non-queried nodes
A list of nodes and edges
plt.subnetwork()
Plot subnetwork
interactive.omics.network$plt.subnetwork( ids, degree = 1, indirect.edges = FALSE, use.symbols = FALSE, node.color = NULL, node.border = NULL, node.size = NULL, node.shape = NULL, layout = "layout_nicely", node.attr = list(), edge.attr = list(), ... )
ids
Node identifiers
degree
Edge degree to include in subset
indirect.edges
Include edges between non-queried nodes
use.symbols
Show node symbols instead of ids
node.color
Node column to determine node background color
node.border
Node column to determine node border color
node.size
Node column to determine node size
node.shape
Node column to determine node shape
layout
An igraph layout
node.attr
Node attributes passed to 'visNodes()'
edge.attr
Edge attributes passed to 'visEdges()'
...
Additional keyword arguments passed to 'visNetwork()'
A visNetwork object
clone()
The objects of this class are cloneable with this method.
interactive.omics.network$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.