cutData: Cut Data Range

Description Usage Arguments Details Author(s)

View source: R/platereader.R

Description

Cuts data to a range or single point of the x-axis, and/or cuts all y-axis values within a range

Usage

1
cutData(data, xrng, xid, yid, yrng)

Arguments

data

platexpress data, see link{readPlateData}

xrng

a single or two value(s) for x-axis cuts, only within the range of two values will be retained; if only one value is passed only the data closest to this point will be retained!

xid

ID of the x-axis data to cut, default is the main x-axis ('Time')

yid

ID of the y-axis data to cut

yrng

a single or two value(s) for x-axis cuts, only data smaller then single value, or within the range of two values will be retained

Details

Cuts the passed platexpress data to ranges of of the x-axis (time or other, see data$xids) and/or y-axis. Note that the behaviour is different for passing single values to xrng or yrng: If xrng is a single value, data for the closest x value will be returned. If yrng is a single value, all data smaller than this value will be returned. Note that data outside yrng are simply set to NA, which may cause problems downstream.

Author(s)

Rainer Machne [email protected]


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