Description Usage Arguments Value Examples
View source: R/sbpiper_plots.r
Plot time courses organised as data frame columns with a heatmap.
1 2 | plot_heatmap_tc(df, g = ggplot(), scaled = TRUE, title = "",
xaxis_label = "", yaxis_label = "")
|
df |
a data frame, with Time as first column |
g |
the current ggplot to overlap |
scaled |
TRUE if the time course values should be scaled within 0 and 1. |
title |
the title of the plot |
xaxis_label |
the xaxis label of the plot |
yaxis_label |
the yaxis label of the plot |
the plot
1 2 3 4 5 6 7 8 9 | 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_heatmap_tc(df=df, scaled=FALSE, xaxis_label="Time [m]", yaxis_label="repeats")
plot_heatmap_tc(df=df, scaled=TRUE, xaxis_label="Time [m]", yaxis_label="repeats")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.