dtw_rank: ranking genes with dtw

Description Usage Arguments Value

View source: R/dtw_methods.R

Description

Compute a ranking of a list of genes based on the dynamic time warping distance between two lineages.

Usage

1
2
dtw_rank(data, reg.f = "loess", span = 0.75, s.df = 4,
  window.type = "none", window.size = 50, equal.size = NULL)

Arguments

data

a warpDEDataSet with genes to be ranked.

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).

window.size

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

equal.size

integer, if we want to specify the same number of points for each lineage to compute the dtw distance with (default is NULL, we use all points available in each lineage).

gene

character, a gene of interest.

norm

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

Value

returns a rankingDE object.


strayMat/lineageDE documentation built on May 30, 2019, 8:18 a.m.