Skip to contents

A function to visualize experimental effects and detect potential issues in the data.

Usage

checkEff(data, ..., x, y, fill = NULL, size = 1.5, scales = "fixed")

Arguments

data

A data frame output from any easyXpress function used after the modelSelection function.

...

<[rlang::`dyn-dots`]> Variable(s) used to facet the data in the output plot. Variable names can be listed in succession.

x

The independent variable to use as the x-axis of the plot. For example, strain. No quotes are needed.

y

The dependent variable to use as the y-zxis of the plot. For example, median_wormlength_um. No quotes are needed.

fill

The variable used to fill data points.

size

The size of the points plotted with ggplot2::geom_jitter. The default is 1.5.

scales

How to plot axes for facets. Should scales be fixed ("fixed", the default), free ("free"), or free in one dimension ("free_x", "free_y")?

Value

A box plot of the data with points jittered behind. The plot is faceted by any variables supplied with ...,