Description Usage Arguments Value Examples
Create weight matrix for trajectory data
1 | trajectoryWeightMatrix(n, type = NULL, span = NULL)
|
n |
indicates the number of cels |
type |
Type of weight matrix, one of "triangular" (default), "block", and "harmonic" |
span |
proportion of samples to include on either side, default is 0.25 |
A weighted matrix
1 2 3 4 | W <- trajectoryWeightMatrix(100)
W <- trajectoryWeightMatrix(100, type = "triangular")
W <- trajectoryWeightMatrix(100, type = "block")
W <- trajectoryWeightMatrix(100, type = "harmonic")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.