Description Usage Arguments Value Examples
View source: R/sbpiper_plots.r
Plot repeated time courses in the same plot separately. First column is Time.
1 2 | plot_repeated_tc(df, g = ggplot(), title = "", xaxis_label = "",
yaxis_label = "", alpha = 1, yaxis.min = NULL, yaxis.max = NULL)
|
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 |
the plot
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.