vis_graph: Provides visualisation of the graph.

Description Usage Arguments Details Value Examples

View source: R/vis_graph.R

Description

'vis_graph' Provides visualisation of the graph.

Usage

1
2
3
4
5
6
7
8
9
vis_graph(
  input_graph,
  Competing_color = "green",
  mirna_color = "orange",
  Upregulation = "red",
  Downregulation = "blue",
  title = "GRAPH",
  layout = "kk"
)

Arguments

input_graph

The graph object.

Competing_color

The color of competing elements on the graph with 'green' default.

mirna_color

The color of miRNAs on the graph with 'orange' default.

Upregulation

The color of Upregulated elements on the graph with 'red' default.

Downregulation

The color of Downregulated elements on the graph with 'blue' default.

title

Title of the given graph.

layout

The layout that will be used for visualisation of the graph.

Details

vis_graph ensures the process to be followed.

Value

The graph object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
data('minsamp')
data('new_counts')

# Visualisation of graph in steady-state.

 priming_graph(minsamp, Competing_expression, miRNA_expression,
    aff_factor = c(seed_type,energy), deg_factor = region)%>%
   vis_graph()

# Visualisation of graph after the change.

 priming_graph(minsamp, Competing_expression, miRNA_expression,
    aff_factor = c(seed_type,energy), deg_factor = region)%>%
   update_variables(new_counts)%>%
   vis_graph()

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