Description Usage Arguments Value
Align two lineage with dtw, fit the aligned data and plot the results
1 2 3 |
data |
a |
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 |
s.df |
numeric, a smoothing parameter for the nsplines regregression (default is 4, see |
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 |
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). |
returns a
pl
a plotof the aligned lineages.
reg
the alternative and null model for likelihood comaprison.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.