node_repression: Function to eliminate a node from a network g and calculate...

View source: R/node_suppression.R

node_repressionR 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.


crosstalkr documentation built on Sept. 30, 2023, 1:06 a.m.