update_how {ceRNAnetsim} | R Documentation

## Converts the count value of the given node.

### Description

this function converts the count value of the given node.

### Usage

    update_how(input_graph, node_name, how, knockdown = TRUE)

### Arguments

`input_graph` | The graph object that processed in previous step/s.
`node_name` | The name of the node whose count is to be changed.
`how` | The change in terms of fold change.
`knockdown` | specifies gene knockdown with default TRUE

### Details

update_how function calculates the current value of given mirna or gene node on the graph object. User must specify current value as fold change.

### Value

the graph object.

### Examples

    data('minsamp')

    priming_graph(minsamp, Competing_expression, miRNA_expression)%>%
       update_how('Gene1',3)

     priming_graph(minsamp, Competing_expression, miRNA_expression,
          aff_factor = c(seed_type,energy), deg_factor = region)%>%
       update_how('Gene1', 3)

       priming_graph(minsamp, Competing_expression, miRNA_expression,
           aff_factor = c(seed_type,energy), deg_factor = region)%>%
      update_how('Gene1', how=0, knockdown= TRUE)

[Package ceRNAnetsim version 1.0.0 Index]