| interactive.omics.network | R Documentation | 
Interaction Omics Network Object
Interaction Omics Network Object
igAn igraph object
pcaDimensionality reduction on node measures
nodesA data frame of labeled nodes
edgesA data frame of undirected edges
propertiesA 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
)igAn undirected igraph object
symbolsA mapping of node identifiers to symbols
graph.measuresA vector of graph measures to compute
node.measuresA vector of node measures to compute
quietUse 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)
measuresA vector of measures to compute
quietUse true to silence messages
NULL
init.nodes()Computes node-level properties
interactive.omics.network$init.nodes( symbols = NULL, measures = c(), quiet = TRUE )
symbolsA mapping of node identifers to symbols
measuresA vector of measures to compute
quietUse 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)
idsA 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 )
idsNode identifiers
degreeEdge degree to include in subset
remove.idsInclude original ids
use.symbolsReturn node symbols instead of ids
A vector of interactors
get.subnetwork()Get subnetwork
interactive.omics.network$get.subnetwork( ids, degree = 1, indirect.edges = FALSE )
idsNode identifiers
degreeEdge degree to include in subset
indirect.edgesInclude 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(), ... )
idsNode identifiers
degreeEdge degree to include in subset
indirect.edgesInclude edges between non-queried nodes
use.symbolsShow node symbols instead of ids
node.colorNode column to determine node background color
node.borderNode column to determine node border color
node.sizeNode column to determine node size
node.shapeNode column to determine node shape
layoutAn igraph layout
node.attrNode attributes passed to 'visNodes()'
edge.attrEdge 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)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.