plot_blotIt: All-in-one plot function for blotIt()

Description Usage Arguments

View source: R/toolsSeverin.R

Description

Takes the output of 'alignME()' If not already in a list it is internally converted by us of blotIt_out_to_list. Which data will be plotted can then be specefied seperately.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
plot_blotIt(
  out,
  plot_points = "aligned",
  plot_line = "aligned",
  spline = F,
  scales = "fixed",
  plot_caption = T,
  ncol = NULL,
  ...
)

Arguments

out

'out' file as produced by 'alignME()'. Either as raw output or converted to a list, e.g. per blotIt_out_to_list.

plot_points

String to specify which data set should be plotted in form of points with corresponding error bars. It must be one of c("original", "scaled", "prediction", "aligned").

plot_line

Same as above but with a line and errorband.

spline

Logical, if set to TRUE, what is specified as plot_line will be plotted as a smooth spline instead of straight lines between points.

scales

String passed as scales argument to facet_wrap.

plot_caption

Logical, if TRUE, a caption describing the plotted data is added to the plot.

ncol

Numerical passed as ncol argument to facet_wrap.

...

Logical expression used for subsetting the data frames, e.g. name == "pERK1" & time < 60.

To reproduce the known function plot1, plot2 and plot3, use:

plot1

plot_points = 'original', plot_line = 'prediction'

plot2

plot_points = 'scaled', plot_line = 'aligned'

plot3

plot_points = 'aligned', plot_line = 'aligned'


dkaschek/blotIt2 documentation built on July 10, 2021, 5:37 a.m.