trajectoryWeightMatrix.Rd
Create weight matrix for trajectory data
trajectoryWeightMatrix(n, type = NULL, span = NULL)
indicates the number of cels
Type of weight matrix, one of "triangular" (default), "block", and "harmonic"
proportion of samples to include on either side, default is 0.25
A weighted matrix
W <- trajectoryWeightMatrix(100)
#> type not specified, defaulting to triangular
#> span not specified, defaulting to 0.25
W <- trajectoryWeightMatrix(100, type = "triangular")
#> span not specified, defaulting to 0.25
W <- trajectoryWeightMatrix(100, type = "block")
#> span not specified, defaulting to 0.25
W <- trajectoryWeightMatrix(100, type = "harmonic")