vis_graph: Provides visualisation of the graph.

View source: R/vis_graph.R

vis_graphR Documentation

Provides visualisation of the graph.

Description

'vis_graph' Provides visualisation of the graph.

Usage

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


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 Feb. 14, 2024, 4:20 a.m.