update_how: Converts the count value of the given node.

Description Usage Arguments Details Value Examples

View source: R/update_how.R

Description

this function converts the count value of the given node.

Usage

1
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

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
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)

ceRNAnetsim documentation built on Nov. 28, 2020, 2 a.m.