.transformNumeric | R Documentation |
Transformation of numeric
Description
Transformation of numeric
Usage
.transformNumeric(x, marker, tR = tR, U = U, L = L)
Arguments
x |
numeric migration time vector in seconds.
|
marker |
data.frame containing minimum two columns, where one holds the
determined migration time in minutes (here referred to as "rtime") of
the EOF marker in the same run in which the migration time is going
to be transformed and the other column the respective mobility
("mobility") of the EOF markers.
Each row hold the values for one EOF marker.
If OnDiskMSnExp is used in x , a third column "fileIdx" is required,
that stores the file Index.
One or two entries are required per file for the transformation and
depending on the number of entries the transformation will be performed
either on one or both markers.
|
tR |
numeric a single value that defines the time (in minutes) of
the electrical field ramp. The default is 0.
|
U |
numeric a single value that defines the voltage (in kV)
applied.
Note that for reversed polarity CE mode a negative value is needed.
|
L |
numeric a single value that defines the total length (in mm)
of the capillary that was used for CE(-MS) analysis.
|
Value
numeric
vector that represents effective mobility in mm^2 / (kV * min)
Examples
rtime <- c(10, 20, 30, 40, 50, 60, 70, 80, 90, 100)
marker <- data.frame(
markerID = c("marker1", "marker2"),
rtime = c(20, 80),
mobility = c(0, 2000)
)
MobilityTransformR:::.transformNumeric(
x = rtime, marker = marker, tR = 3,
U = 30, L = 90
)