dtw_align: Align with dtw two lineages

Description Usage Arguments Value

Description

Align two lineage with dtw, fit the aligned data and plot the results

Usage

1
2
3
dtw_align(data, gene, reg.f = "loess", span = 0.75, s.df = 4,
  norm = "L2", window.type = "none", window.size = 50, align.show = F,
  legend.show = F, duplicate.keep = F)

Arguments

data

a warpDEDataSet with genes to be ranked.

gene

character, a gene of interest.

reg.f

a function to perform regression, either "ns" for natural splines, "loess" or "splines" (default is "loess").

span

numeric, a smoothing parameter for the regression function (default is 0.75, see gam::lo for details).

s.df

numeric, a smoothing parameter for the nsplines regregression (default is 4, see splines::s for details about regularization).

norm

character,("L2" or "L1") the norm to be used for the dtw distance (default is "L2").

window.type

charcater, the window type for the computation of dtw, (see dtw::dtw for precisions; default is "none").

window.size

integer, the size of the warping window (default is NULL, no window.size), see details.

align.show

logical, if we want to plot the alignment.

legend.show

logical, if the legend is wanted (default is FALSE).

Value

returns a


strayMat/warpDE documentation built on June 1, 2019, 12:51 a.m.