View source: R/find_affected_nodes.R
find_affected_nodes | R Documentation |
Finds top affected nodes for perturbation from a particular node
find_affected_nodes( input_graph, node_name, how = 1, cycle = 1, limit = 0, top = 5 )
input_graph |
The graph object that was processed with priming_graph function. |
node_name |
The node to trigger perturbations. |
how |
The change of count (expression) of the given node in terms of fold change. |
cycle |
The iteration of simulation. |
limit |
The minimum fold change which can be taken into account for perturbation calculation on all nodes in terms of percentage. |
top |
Determines how many nodes most affected will be listed. |
Lists the most affected nodes after perturbation initiated from a particular node. In the background, it compares the calculated values after the simulation with their initial values.
It gives a tibble form dataset that includes perturbation node, affected nodes and changes of them.
data('midsamp') midsamp%>% priming_graph(competing_count = Gene_expression, miRNA_count = miRNA_expression)%>% find_affected_nodes(node_name = "Gene1", how = 2, cycle = 2, top = 2)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.