plot_arrange_by_condition_func: Arrange multiples plots by condition

View source: R/plot_arrange_by_condition_func.R

plot_arrange_by_condition_funcR Documentation

Arrange multiples plots by condition

Description

This helper function make multiples plot base on the treatments provided, eg. Fab, cAMP and not by the parameter analyzed or your variable of interest.

Usage

plot_arrange_by_condition_func(
  dataframe,
  var,
  my_conditions,
  type_of_plot = "superplot",
  ...
)

Arguments

dataframe

A dataframe object. The dataset for analysis, eg wave kinetics or wave occurrence df.

var

Character vector. List of variable(s) you want to plot.

my_conditions

Character vector. List of conditions you want to plot, eg. c("Fab", "cAMP").

type_of_plot

"Character. What kind of plot would you like to make? Options are 1. A regular boxplot using: "reg_boxplot", 2. A superplot using: "superplot". Default to "superplot".

...

Additional parameters passed to the type of plot.

Value

a list of multiples ggplot objects.

Examples

# the example is still missing.

rjlopez2/AnlysisOfWaves documentation built on Sept. 15, 2022, 2:25 p.m.