plotDifferences: Plot the fold change of fluxes between two models into a...

Description Usage Arguments Author(s) Examples

Description

This functions calculates the fold change "(fluxModel2/fluxModel1)-1" for the fluxes of two given metabolic models and plot it into a bipartite graph. Vertex size is assigned proportional to the fold change; if fold change is positive, green color is assigned, in contrary case, red color is assigned.

Usage

1
plotDifferences(model1, model2, ...)

Arguments

model1

A valid model for the 'sybil' package.

model2

A valid model for the 'sybil' package. Must have the same reactions (reaction number and reaction identifiers) as "model1" with different restrictions.

...

Additional arguments affecting the plot

Author(s)

Daniel Camilo Osorio <dcosorioh@unal.edu.co>

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
## Not run: 
# Loading a model
library("sybil")
library("Biobase")
data("Ec_core")

# Generating expressionSets
expressionData <- matrix(data = runif(3*length(Ec_core@allGenes),min = 1,max = 100),
                         nrow = length(Ec_core@allGenes),
                         dimnames = list(c(Ec_core@allGenes),c()))
expressionData <- ExpressionSet(assayData = expressionData)

# Applying exp2flux
Ec_coreGE <- exp2flux(model = Ec_core,
                      expression = expressionData,
                      missing = "mean")

# Plotting Differences
plotDifferences(model1 = Ec_core, 
                model2 = Ec_coreGE)
                
## End(Not run)

exp2flux documentation built on May 2, 2019, 12:40 p.m.