Learn R Programming

mirIntegrator (version 1.2.0)

plot_change: Plotting the change in pathways order

Description

Function for plotting a lines plot of the difference in pathways' order. The resultant plot shows the comparison between the order of the original pathways and the order of the augmented pathways. It also contains a line with the order difference (order of the augmented pathways minus order of the original pathways). The order of a biological pathway is the number of genes that are involved in it.

Usage

plot_change(original_pathways, augmented_pathways, pathway_names)

Arguments

original_pathways
A list of graph::graphNEL objects where each of the nodes is named with ''. Nodes of each graph::graphNEL represent the genes involved in the pathway and edges represent the biological interactions (activation or repression) among those genes (activation or repression).
augmented_pathways
A list of graph::graphNEL objects where each of the nodes is named with ''. Nodes of each graph::graphNEL represent genes and miRNAs involved in the pathway and edges represent the biological interactions (activation or repression) among them.
pathway_names
A list of names of the pathways named by ''.

Value

A lines plot of the comparison of pathways order.

Examples

Run this code
data(augmented_pathways)
data(kegg_pathways)
data(names_pathways)
plot_change(kegg_pathways,augmented_pathways, names_pathways)

Run the code above in your browser using DataLab