node_repression {crosstalkr}R Documentation

Function to eliminate a node from a network g and calculate the change in some measure of network state

Description

this function is still under development.

Usage

node_repression(
  g,
  v_rm = as.character(names(igraph::V(g))),
  exp,
  state_function = calc_np_all,
  neighbors_only = TRUE,
  ...
)

Arguments

g

igraph network object

v_rm

index of vertices to remove

exp

expression vector for nodes in graph g

state_function

function to use to calculate network state before and after node_repression

neighbors_only

logical designating whether state function should be calculated for all nodes or just neighbors

...

additional parameters passed to state function.


[Package crosstalkr version 1.0.5 Index]