update_nodes: Carries variables from edge to node.

Description Usage Arguments Details Value Examples

View source: R/update_nodes.R

Description

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

Usage

1
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

1
2
3
4
5
data('minsamp')

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

selcenari/ceRNAnetsim documentation built on Nov. 27, 2020, 1:27 a.m.