boxData: Box-Plots of Data Ranges

Description Usage Arguments Value Author(s)

View source: R/platereader.R

Description

returns data for group of wells in a given range of the x-axis; if only one value is given, the values closest to this x-axis points are returned; see "Value" for details.

Usage

1
2
boxData(data, rng, groups, xid, yid = "OD", interpolate = TRUE,
  plot = TRUE, type = "box", etype = "ci")

Arguments

data

platexpress data, see readPlateData

rng

x-axis range or a single point, for the latter the closest point will be selected or, if option interpolate=TRUE the value at rng will be interpolated using R base function approx

groups

a grouping of wells, see getGroups

xid

the x-axis ID, if multiple x-axes are present

yid

the y-axis data to be grouped

interpolate

interpolate data at rng (if a single value, see argument rng)

plot

if TRUE a box-plot or bar-plot will be plotted

type

either "box" (default) or "bar" for box-plot or bar-plot

etype

type of statistics to be used for error bars in the bar-plot, either "ci" (default) for the 95 the standard error

Value

Returns an annotated data.frame of the values, with well and group IDs in the first two columns. The values in the third column are raw values (if argument rng was a single point on the x-axis) or mean values (if argumentrng was a range).

Author(s)

Rainer Machne [email protected]


raim/platexpress documentation built on Nov. 9, 2018, 5:38 p.m.