plot_repeated_tc: Plot repeated time courses in the same plot separately. First...

Description Usage Arguments Value Examples

View source: R/sbpiper_plots.r

Description

Plot repeated time courses in the same plot separately. First column is Time.

Usage

1
2
plot_repeated_tc(df, g = ggplot(), title = "", xaxis_label = "",
  yaxis_label = "", alpha = 1, yaxis.min = NULL, yaxis.max = NULL)

Arguments

df

a data frame

g

the current ggplot to overlap

title

the title of the plot

xaxis_label

the xaxis label of the plot

yaxis_label

the yaxis label of the plot

alpha

the amount of alpha transparency

yaxis.min

the lower limit for the y axis

yaxis.max

the upper limit for the y axis

Value

the plot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
data(insulin_receptor_1)
data(insulin_receptor_2)
data(insulin_receptor_3)
df <- data.frame(Time=insulin_receptor_1[,1], 
                 X1=insulin_receptor_1[,2], 
                 X2=insulin_receptor_2[,2], 
                 X3=insulin_receptor_3[,2])
plot_repeated_tc(df=df, 
                 xaxis_label="Time [m]", yaxis_label="Level [a.u.]", 
                 alpha=1, yaxis.min=NULL, yaxis.max=NULL)

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