differential.scale: Scale data by a differential

View source: R/electrophoresis.R

differential.scaleR Documentation

Scale data by a differential

Description

Given an x-variable and a y-variable, this function scales the y-values from the observed data points by the differentials of the x-values. The resulting values of y/dx can then be used to make visually accurate graphs.

Usage

differential.scale(electrophoresis, x, y)

Arguments

electrophoresis

An electrophoresis object.

x

The name of the x-variable in electrophoresis$data.

y

The name of the y-variable in electrophoresis$data.

Value

A vector of the y-values, one for each row of electrophoresis$data, divided by the differentials of the corresponding x-values.

See Also

normalize.proportion


jwfoley/bioanalyzeR documentation built on Aug. 1, 2023, 4:46 a.m.