update_nodes {ceRNAnetsim} | R Documentation

## Carries variables from edge to node.

### Description

This function carries variables from edge to node and should be used after 'update_how' or 'update_variables' functions

### Usage

    update_nodes(input_graph, once = FALSE, limit = 0)

### Arguments

`input_graph` | Processed graph object in previous step.
`once` | The argument is about when the carrying process runs (internal use only)
`limit` | absolute minimum amount of change required to be considered as up/down regulated element

### Details

If the carrying process performs after priming_graph function, the argument must be TRUE. The function helps to visualisation of processed graph object, especially that includes too many nodes.This step makes it easily to follow the processes.

### Value

the graph object.

### Examples

    data('minsamp')

    minsamp %>%
      priming_graph(Competing_expression, miRNA_expression) %>%
      update_how('Gene2',2)

[Package ceRNAnetsim version 1.2.1 Index]