plot_comb_sims: Plot the simulation time courses using a heatmap...

Description Usage Arguments Examples

View source: R/sbpiper_sim.r

Description

Plot the simulation time courses using a heatmap representation.

Usage

1
2
3
4
plot_comb_sims(inputdir, outputdir, model, exp_dataset,
  plot_exp_dataset = FALSE, exp_dataset_alpha = 1, xaxis_label = "",
  yaxis_label = "", column_to_read = "X1", yaxis.min = NULL,
  yaxis.max = NULL)

Arguments

inputdir

the input directory containing the time course files

outputdir

the output directory

model

the model name

exp_dataset

a full path file containing the experimental data.

plot_exp_dataset

TRUE if the experimental data should also be plotted

exp_dataset_alpha

the alpha level for the data set

xaxis_label

the label for the x axis (e.g. Time (min))

yaxis_label

the label for the y axis (e.g. Level (a.u.))

column_to_read

the name of the column to process

yaxis.min

the lower limit for the y axis

yaxis.max

the upper limit for the y axis

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
data(insulin_receptor_IR_beta_pY1146)
data(insulin_receptor_exp_dataset)
dir.create(file.path("sim_datasets_sum"))
write.table(insulin_receptor_IR_beta_pY1146, 
            file=file.path("sim_datasets_sum","insulin_receptor_IR_beta_pY1146.csv"), 
            row.names=FALSE)
write.table(insulin_receptor_exp_dataset, 
            file="insulin_receptor_exp_dataset.csv", 
            row.names=FALSE)
plot_comb_sims(inputdir="sim_datasets_sum", 
               outputdir="sim_plots",
               model="insulin_receptor",
               exp_dataset="insulin_receptor_exp_dataset.csv",
               plot_exp_dataset=TRUE, 
               exp_dataset_alpha=1.0, 
               xaxis_label="Time [m]", 
               yaxis_label="Level [a.u.]", 
               column_to_read='IR_beta_pY1146', 
               yaxis.min=NULL, 
               yaxis.max=NULL)

pdp10/sbpiper documentation built on May 17, 2019, 11:17 p.m.