Learn R Programming

sbpiper (version 1.9.0)

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

Description

Plot the simulation time courses using a heatmap representation.

Usage

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

Run this code
# NOT RUN {
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)
# }

Run the code above in your browser using DataLab