pwl: Piecewise linear warping function for one index in the...

Description Usage Arguments Value

Description

Do piecewise stretch and compression by matching knots_query to knots_ref, using the latter as anchors. The entire stretch and compression is done by correct_batch_effect_by_ref.

Usage

1
pwl(i, knots_ref, knots_query)

Arguments

i

The i-th bin in the reference

knots_ref

The knots for the reference

knots_query

The knots for the lane that is to be aligned to the reference

Value

The index in the query lane that is to be aligned to the i-th bin in the reference lane


zhenkewu/spotgear documentation built on June 22, 2019, 1:55 a.m.